From c7dd1f9a3d4efb65d3a5f72380ba3594d9dd7116 Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Tue, 10 Mar 2026 23:52:30 +0000 Subject: [PATCH] make sure we get proper urls here i need to add an env var or something tbh --- appview/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appview/main.ts b/appview/main.ts index 90c9cd5..5a8fd9b 100644 --- a/appview/main.ts +++ b/appview/main.ts @@ -125,7 +125,8 @@ export default { if ("$type" in record.video && record.video?.$type === "blob") { const blobCid = record.video.ref.$link; const filename = await getOrFetchVideo(did, blobCid); - videoUrl = `${new URL(req.url).origin}/user-content/${filename}`; + // TODO: dont hardcode public url base + videoUrl = `https://video.cerulea.blue/user-content/${filename}`; videoType = record.video.mimeType; }