cf
This commit is contained in:
@@ -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',
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user