Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update route.ts (#765)

Ameer Al Ashhab309309d4fe2d
diff --git a/apps/web/app/api/playlist/route.ts b/apps/web/app/api/playlist/route.ts
index 3d77279cd..2c888cdf3 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-Credentials", "");
c.header("Access-Control-Allow-Origin", "*");
return c.body(videoBody);
}