page, stream: drop leftover selfURL usage

This commit is contained in:
dumbmoron
2024-01-13 00:01:31 +00:00
parent e5045df9af
commit b0996b85fb
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ export function createStream(obj) {
exp = streamInfo.exp;
ghmac = streamInfo.hmac;
}
return `${process.env.apiURL || process.env.selfURL}api/stream?t=${streamID}&e=${exp}&h=${ghmac}`;
return `${process.env.apiURL}api/stream?t=${streamID}&e=${exp}&h=${ghmac}`;
}
export function verifyStream(id, hmac, exp) {