diff --git a/src/pages/og.png.ts b/src/pages/og.png.ts index 2f8fad9..d037ad6 100644 --- a/src/pages/og.png.ts +++ b/src/pages/og.png.ts @@ -6,7 +6,7 @@ import { getFontPathByWeight } from "@/utils/getFontPathByWeight"; import config from "@/config"; export const GET: APIRoute = async context => { - const fonts = fontData["--font-google-sans-code"]; + const fonts = fontData["--font-nunito"]; const regularFontPath = getFontPathByWeight(fonts, 400); const boldFontPath = getFontPathByWeight(fonts, 700); @@ -34,7 +34,7 @@ export const GET: APIRoute = async context => { display: "flex", alignItems: "center", justifyContent: "center", - fontFamily: "Google Sans Code", + fontFamily: "Nunito", }, children: [ { @@ -145,13 +145,13 @@ export const GET: APIRoute = async context => { embedFont: true, fonts: [ { - name: "Google Sans Code", + name: "Nunito", data: regularData, weight: 400, style: "normal", }, { - name: "Google Sans Code", + name: "Nunito", data: boldData, weight: 700, style: "normal",