refactor: use prerender

This commit is contained in:
Bart van der Braak 2024-01-21 21:55:25 +01:00
parent d94e6d1fc3
commit cea1cf5048

View file

@ -4,9 +4,10 @@ import { html as toReactNode } from 'satori-html';
import { OgImage } from '$lib/components/site';
import GeistRegular from '$lib/assets/og/Geist-Regular.woff';
import GeistBold from '$lib/assets/og/Geist-Bold.woff';
import { readFileSync } from 'fs';
export const prerender = true;
const height = 630;
const width = 1200;