fix: env var exposed in next.config are undefined

This commit is contained in:
Sonny
2023-11-12 05:34:15 +01:00
parent f5c406a84c
commit 11ac5f4b05
3 changed files with 3 additions and 8 deletions

View File

@@ -20,13 +20,7 @@ const config = {
formats: ["image/webp"]
},
reactStrictMode: false,
experimental: {
webpackBuildWorker: true
},
output: "standalone",
env: {
baseUrl: process.env.NEXTAUTH_URL
}
output: "standalone"
};
module.exports = config;