Update next.config.js
This commit is contained in:
@@ -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',
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user