Merge pull request #146 from compilando/patch-1

Update next.config.js
This commit is contained in:
mauro 🤙
2024-08-31 12:16:39 +02:00
committed by GitHub

View File

@@ -24,6 +24,7 @@ const nextConfig = (phase, { defaultConfig }) => {
domains: ['cdn.jsdelivr.net', "raw.githubusercontent.com"], // Allow images from jsDelivr domains: ['cdn.jsdelivr.net', "raw.githubusercontent.com"], // Allow images from jsDelivr
}, },
experimental: { experimental: {
runtime: 'edge',
serverActions: { serverActions: {
// edit: updated to new key. Was previously `allowedForwardedHosts` // edit: updated to new key. Was previously `allowedForwardedHosts`
allowedOrigins: ["localhost:3000", "get-zen.vercel.app"], allowedOrigins: ["localhost:3000", "get-zen.vercel.app"],
@@ -42,7 +43,7 @@ const nextConfig = (phase, { defaultConfig }) => {
return { return {
...defaultConfigWWW, ...defaultConfigWWW,
// production only config options here // production only config options here
output: 'export', //output: 'export',
}; };
}; };