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 { PHASE_DEVELOPMENT_SERVER } = require('next/constants')
const {setupDevPlatform} = require('@cloudflare/next-on-pages/next-dev') const {setupDevPlatform} = require('@cloudflare/next-on-pages/next-dev')
const withNextIntl = createNextIntlPlugin(); const withNextIntl = createNextIntlPlugin();
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
@@ -24,7 +22,6 @@ 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"],
@@ -43,7 +40,7 @@ const nextConfig = (phase, { defaultConfig }) => {
return { return {
...defaultConfigWWW, ...defaultConfigWWW,
// production only config options here // production only config options here
//output: 'export', output: 'export',
}; };
}; };

View File

@@ -2,8 +2,6 @@ import { BrandingAssets } from "@/components/branding-assets";
import Footer from "@/components/footer"; import Footer from "@/components/footer";
import { Navigation } from "@/components/navigation"; import { Navigation } from "@/components/navigation";
export const runtime = 'edge';
export default function BrandingAssetsPage() { export default function BrandingAssetsPage() {
return ( return (
<main className="flex min-h-screen flex-col items-center justify-start"> <main className="flex min-h-screen flex-col items-center justify-start">