mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
Improve streaming
This commit is contained in:
parent
6ede73dad0
commit
301fe469ee
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue