Skip to content

Commit

Permalink
chore(website): enable turbopack for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sdorra committed Oct 24, 2024
1 parent a7314b8 commit 17cbece
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions website/app/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { ImageResponse } from "next/og";

export default async function Image() {
const interRegular = fetch(
new URL("/assets/fonts/inter/Inter-Regular.ttf", import.meta.url),
new URL("../assets/fonts/inter/Inter-Regular.ttf", import.meta.url),
).then((res) => res.arrayBuffer());

const interBold = fetch(
new URL("/assets/fonts/inter/Inter-Bold.ttf", import.meta.url),
new URL("../assets/fonts/inter/Inter-Bold.ttf", import.meta.url),
).then((res) => res.arrayBuffer());

const logo = await fetch(
new URL("/assets/logo_512x512.png", import.meta.url),
new URL("../assets/logo_512x512.png", import.meta.url),
).then((res) => res.arrayBuffer());

return new ImageResponse(
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint"
Expand Down

0 comments on commit 17cbece

Please sign in to comment.