Skip to content

Commit bd004c3

Browse files
committed
move font file to lib
1 parent 3b83c8e commit bd004c3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/lib/fonts/Manrope-Regular.ttf

94.2 KB
Binary file not shown.

src/routes/og/generateImage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { read } from '$app/server';
2+
import Manrope from '$lib/fonts/Manrope-Regular.ttf';
23
import { Resvg } from '@resvg/resvg-js';
34
import satori from 'satori';
45
import { html as toReactNode } from 'satori-html';
5-
import Manrope from '/static/fonts/Manrope-Regular.ttf';
66

77
const fontData = read(Manrope).arrayBuffer();
88

0 commit comments

Comments
 (0)