Skip to content

Commit

Permalink
stream/manage: add missing default API_PORT value for internal stre…
Browse files Browse the repository at this point in the history
…am URLs (#463)
  • Loading branch information
jsopn committed Apr 28, 2024
1 parent 78288b8 commit 331f055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/stream/manage.js
Expand Up @@ -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();
}
Expand Down

0 comments on commit 331f055

Please sign in to comment.