stream/manage: add missing default API_PORT
value for internal stream URLs (#463)
This commit is contained in:
parent
78288b8fac
commit
331f055367
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ export function createInternalStream(url, obj = {}) {
|
|||
controller: new AbortController()
|
||||
};
|
||||
|
||||
let streamLink = new URL('/api/istream', `http://127.0.0.1:${process.env.API_PORT}`);
|
||||
let streamLink = new URL('/api/istream', `http://127.0.0.1:${process.env.API_PORT || 9000}`);
|
||||
streamLink.searchParams.set('t', streamID);
|
||||
return streamLink.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue