make all environment variables consistent & list them in docs (#380)

This commit is contained in:
wukko
2024-03-05 20:19:01 +06:00
committed by GitHub
12 changed files with 94 additions and 47 deletions

View File

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