Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: Revert CloudFront change again

Richie McIlroy6f3da6d17dab
diff --git a/apps/web/app/api/playlist/route.ts b/apps/web/app/api/playlist/route.ts
index ff4b8c4d6..8275d42d1 100644
--- a/apps/web/app/api/playlist/route.ts
+++ b/apps/web/app/api/playlist/route.ts
@@ -200,13 +200,7 @@ export async function GET(request: NextRequest) {
})
);
- return {
- url: url.replace(
- "https://capso.s3.us-east-1.amazonaws.com",
- "https://v.cap.so"
- ),
- duration: metadata?.Metadata?.duration ?? "",
- };
+ return { url: url, duration: metadata?.Metadata?.duration ?? "" };
})
);