aboutsummaryrefslogtreecommitdiffstats
path: root/next.config.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-16 18:22:08 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-16 18:22:08 +0100
commit0ef4f77954ba54b52b96c70a8bffe96804bd222d (patch)
tree7fe68b05271625f72f750786e1a94b71942d2cd5 /next.config.js
parenta4f865224e0e395c7e29bb3b7279a5101b554d2c (diff)
chore: display featuredImage and meta on posts list
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js
index 2faf64a..8492d0d 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,12 +1,17 @@
const path = require('path');
const { locales } = require('./lingui.config');
+const backendDomain = process.env.BACKEND_URL.split('//')[1];
+
/** @type {import('next').NextConfig} */
module.exports = {
i18n: {
locales,
defaultLocale: 'fr',
},
+ images: {
+ domains: [backendDomain, 'secure.gravatar.com'],
+ },
poweredByHeader: false,
reactStrictMode: true,
sassOptions: {