diff options
| -rw-r--r-- | next.config.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/next.config.js b/next.config.js index d590934..d620718 100644 --- a/next.config.js +++ b/next.config.js @@ -79,9 +79,6 @@ const securityHeaders = [ /** @type {import('next').NextConfig} */ const nextConfig = { - experimental: { - scrollRestoration: true, - }, headers() { return [ { @@ -96,7 +93,15 @@ const nextConfig = { defaultLocale: 'fr', }, images: { - domains: [backendDomain, 'secure.gravatar.com'], + remotePatterns: [ + { + hostname: backendDomain, + }, + { + protocol: 'https', + hostname: 'secure.gravatar.com', + }, + ], }, output: 'standalone', poweredByHeader: false, |
