mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-02 16:58:43 +09:00
Improve streaming
This commit is contained in:
parent
8674d55c8e
commit
c2038bec73
@ -16,11 +16,11 @@ module.exports = (server: http.Server) => {
|
||||
});
|
||||
|
||||
ws.on('request', async (request) => {
|
||||
const connection = request.accept();
|
||||
|
||||
const q = request.resourceURL.query as ParsedUrlQuery;
|
||||
const [user, app] = await authenticate(q.i as string);
|
||||
|
||||
const connection = request.accept();
|
||||
|
||||
let ev: EventEmitter;
|
||||
|
||||
if (config.redis) {
|
||||
|
Loading…
Reference in New Issue
Block a user