From a40438a558e2f69130a2c4a16f4cec0aa43fdae1 Mon Sep 17 00:00:00 2001 From: secondl1ght Date: Thu, 23 May 2024 19:00:35 -0600 Subject: [PATCH] add relative --- src/routes/og/generateImage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/og/generateImage.ts b/src/routes/og/generateImage.ts index 32a846d..7e37eb9 100644 --- a/src/routes/og/generateImage.ts +++ b/src/routes/og/generateImage.ts @@ -2,7 +2,7 @@ import { read } from '$app/server'; import { Resvg } from '@resvg/resvg-js'; import satori from 'satori'; import { html as toReactNode } from 'satori-html'; -import Manrope from '/static/fonts/Manrope-Regular.ttf'; +import Manrope from './static/fonts/Manrope-Regular.ttf'; const fontData = read(Manrope).arrayBuffer();