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; }