refactor(website): switch to dynamic only

This commit is contained in:
iCrawl
2025-05-30 02:29:15 +02:00
parent 2c35084ecd
commit 762bbc6525
37 changed files with 4315 additions and 3630 deletions

View File

@@ -12,9 +12,9 @@ export const size = {
export const contentType = 'image/png';
export default async function Image() {
const fontData = await fetch(new URL('../assets/Geist-Black.ttf', import.meta.url), {
next: { revalidate: 604_800 },
}).then(async (res) => res.arrayBuffer());
const fontData = await fetch(new URL('../assets/Geist-Black.ttf', import.meta.url), { cache: 'force-cache' }).then(
async (res) => res.arrayBuffer(),
);
return new ImageResponse(
(