diff options
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 5 |
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: { |
