Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(web): include OG fonts in Next output tracing

Richie McIlroy1d9e0465e050
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 6263778e4..161eab8b5 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -22,6 +22,8 @@ const nextConfig = {
outputFileTracingIncludes: {
"/.well-known/workflow/v1/step": ffmpegTracingIncludes,
"/api/tools/loom-download": ffmpegTracingIncludes,
+ "/api/og": ["./lib/og/fonts/*.ttf"],
+ "/api/video/og": ["./lib/og/fonts/*.ttf", ...ffmpegTracingIncludes],
},
transpilePackages: [
"@cap/ui",