diff --git a/src/lib/fonts/Manrope-Regular.ttf b/src/lib/fonts/Manrope-Regular.ttf new file mode 100644 index 00000000..7d21e1be Binary files /dev/null and b/src/lib/fonts/Manrope-Regular.ttf differ diff --git a/src/routes/og/generateImage.ts b/src/routes/og/generateImage.ts index 32a846d9..c23ffb56 100644 --- a/src/routes/og/generateImage.ts +++ b/src/routes/og/generateImage.ts @@ -1,8 +1,8 @@ import { read } from '$app/server'; +import Manrope from '$lib/fonts/Manrope-Regular.ttf'; 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'; const fontData = read(Manrope).arrayBuffer();