This commit is contained in:
mauro 🤙
2024-08-31 10:31:09 +00:00
parent 6fcc93665f
commit 5b6caa1d7b
2 changed files with 1 additions and 6 deletions

View File

@@ -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',
};
};