From 5b6caa1d7b33ac1ec3f5367cf9e312c459b7cc34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mauro=20=F0=9F=A4=99?= <91018726+mauro-balades@users.noreply.github.com> Date: Sat, 31 Aug 2024 10:31:09 +0000 Subject: [PATCH] cf --- next.config.js | 5 +---- src/app/branding-assets/page.tsx | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/next.config.js b/next.config.js index e52cc82..10c5c49 100644 --- a/next.config.js +++ b/next.config.js @@ -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', }; }; diff --git a/src/app/branding-assets/page.tsx b/src/app/branding-assets/page.tsx index c493662..2399c78 100644 --- a/src/app/branding-assets/page.tsx +++ b/src/app/branding-assets/page.tsx @@ -2,8 +2,6 @@ import { BrandingAssets } from "@/components/branding-assets"; import Footer from "@/components/footer"; import { Navigation } from "@/components/navigation"; -export const runtime = 'edge'; - export default function BrandingAssetsPage() { return (