Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: update font file paths for Open Graph image generation

Andrej08c13b8b383a
diff --git a/apps/docs/lib/og.tsx b/apps/docs/lib/og.tsx
index 562db60ef..869e24a15 100644
--- a/apps/docs/lib/og.tsx
+++ b/apps/docs/lib/og.tsx
@@ -10,8 +10,8 @@ interface GenerateProps {
site?: string;
}
-const font = readFileSync("./lib/fonts/Inter_18pt-Regular.ttf");
-const fontBold = readFileSync("./lib/fonts/Inter_18pt-Bold.ttf");
+const font = readFileSync("./lib/Inter_18pt-Regular.ttf");
+const fontBold = readFileSync("./lib/Inter_18pt-Bold.ttf");
export function generateOgImage(options: GenerateProps & ImageResponseOptions) {
const { title, description, primaryTextColor, ...rest } = options;