Added edge runtime to pages

This commit is contained in:
Henrik Larsson 2023-08-15 10:07:46 +02:00
parent 3499ff98f5
commit d623dd705e
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,8 @@ import type { Metadata } from 'next';
import { draftMode } from 'next/headers';
import { notFound } from 'next/navigation';
export const runtime = 'edge';
export async function generateMetadata({
params
}: {

View File

@ -7,6 +7,8 @@ import { Metadata } from 'next';
import { draftMode } from 'next/headers';
import { notFound } from 'next/navigation';
export const runtime = 'edge';
export async function generateMetadata({
params
}: {