diff --git a/next.config.js b/next.config.js index 96481554..8df80bd4 100644 --- a/next.config.js +++ b/next.config.js @@ -1,19 +1,23 @@ /** @type {import('next').NextConfig} */ const nextConfig = { experimental: { - appDir: true, serverComponentsExternalPackages: ["mongoose"], }, images: { - domains: ['lh3.googleusercontent.com'], + remotePatterns: [ + { + protocol: "https", + hostname: "lh3.googleusercontent.com", + }, + ], }, webpack(config) { config.experiments = { ...config.experiments, topLevelAwait: true, - } - return config - } -} + }; + return config; + }, +}; -module.exports = nextConfig +module.exports = nextConfig;