Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update route.ts (#764)

Ameer Al Ashhabd949c49d38f8
diff --git a/apps/web/app/api/playlist/route.ts b/apps/web/app/api/playlist/route.ts
index f2078f2e5..3d77279cd 100644
--- a/apps/web/app/api/playlist/route.ts
+++ b/apps/web/app/api/playlist/route.ts
@@ -99,6 +99,7 @@ const app = new Hono()
"Content-Length",
videoResponse.headers.get("content-length") || ""
);
+ c.header("Access-Control-Allow-Origin", "*");
return c.body(videoBody);
}