Skip to content

Commit bb6afab

Browse files
committed
⚡️ reduce size of edge function
1 parent 0b53232 commit bb6afab

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

assets/fonts/Inter-Regular.ttf

-303 KB
Binary file not shown.

assets/icons.png

-142 KB
Loading

assets/logo-64x64.png

3.65 KB
Loading

pages/api/og.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const interBold = fetch(new URL('../../assets/fonts/Inter-Bold.ttf', import.meta
1414
res.arrayBuffer()
1515
)
1616

17-
const image = fetch(
18-
new URL('../../public/favicons/android-chrome-512x512.png', import.meta.url)
19-
).then((res) => res.arrayBuffer())
17+
const image = fetch(new URL('../../assets/logo-64x64.png', import.meta.url)).then((res) =>
18+
res.arrayBuffer()
19+
)
2020

2121
const image2 = fetch(new URL('../../assets/icons.png', import.meta.url)).then((res) =>
2222
res.arrayBuffer()

0 commit comments

Comments
 (0)