make sure we get proper urls here
i need to add an env var or something tbh
This commit is contained in:
parent
89ec573591
commit
c7dd1f9a3d
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue