From 0ef4f77954ba54b52b96c70a8bffe96804bd222d Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 16 Dec 2021 18:22:08 +0100 Subject: chore: display featuredImage and meta on posts list --- next.config.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'next.config.js') 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: { -- cgit v1.2.3