Skip to content

Commit 6c39edb

Browse files
committed
api/stream: use dispatcher if passed to istream
1 parent 6ca377d commit 6c39edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/stream/manage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function getInternalStream(id) {
7575
export function createInternalStream(url, obj = {}) {
7676
assert(typeof url === 'string');
7777

78-
let dispatcher;
78+
let dispatcher = obj.dispatcher;
7979
if (obj.requestIP) {
8080
dispatcher = freebind?.dispatcherFromIP(obj.requestIP, { strict: false })
8181
}

0 commit comments

Comments
 (0)