Skip to content

Commit

Permalink
Font prod urls
Browse files Browse the repository at this point in the history
  • Loading branch information
et0and committed Sep 23, 2024
1 parent f3225d7 commit 1c0673e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/api/og/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ export const runtime = "edge";
const geistSansRegular = fetch(
new URL(
"https://tom.so/assets/fonts/geist/static/Geist-Regular.ttf",
import.meta.url
)
import.meta.url,
),
).then((res) => res.arrayBuffer());

const geistSansSemibold = fetch(
new URL(
"https://tom.so/assets/fonts/geist/static/Geist-SemiBold.ttf",
import.meta.url
)
import.meta.url,
),
).then((res) => res.arrayBuffer());

export async function GET(request: NextRequest) {
Expand Down Expand Up @@ -82,6 +82,6 @@ export async function GET(request: NextRequest) {
weight: 600,
},
],
}
},
);
}

0 comments on commit 1c0673e

Please sign in to comment.