Add caching to photo OG image
This commit is contained in:
parent
21da8df112
commit
f2cbc11044
@ -6,6 +6,7 @@ import { getIBMPlexMonoMedium } from '@/site/font';
|
|||||||
import { ImageResponse } from 'next/og';
|
import { ImageResponse } from 'next/og';
|
||||||
|
|
||||||
export const runtime = 'edge';
|
export const runtime = 'edge';
|
||||||
|
export const revalidate = 30;
|
||||||
|
|
||||||
export async function GET(
|
export async function GET(
|
||||||
_: Request,
|
_: Request,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user