cf
This commit is contained in:
@@ -3,8 +3,6 @@ const createNextIntlPlugin = require('next-intl/plugin');
|
||||
const { PHASE_DEVELOPMENT_SERVER } = require('next/constants')
|
||||
const {setupDevPlatform} = require('@cloudflare/next-on-pages/next-dev')
|
||||
|
||||
|
||||
|
||||
const withNextIntl = createNextIntlPlugin();
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
@@ -24,7 +22,6 @@ 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"],
|
||||
@@ -43,7 +40,7 @@ const nextConfig = (phase, { defaultConfig }) => {
|
||||
return {
|
||||
...defaultConfigWWW,
|
||||
// production only config options here
|
||||
//output: 'export',
|
||||
output: 'export',
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user