Update next.config.js

This commit is contained in:
Oscar González
2024-08-31 12:15:50 +02:00
committed by GitHub
parent a0d34d1235
commit 0dfd712ba2

View File

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