mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 11:40:49 +00:00
fix ws port
This commit is contained in:
@@ -79,7 +79,7 @@ export const uploadFile = (user: any, path?: string): Promise<any> => new Promis
|
||||
|
||||
export function connectStream(user: any, channel: string, listener: (message: Record<string, any>) => any, params?: any): Promise<WebSocket> {
|
||||
return new Promise((res, rej) => {
|
||||
const ws = new WebSocket(`ws://localhost/streaming?i=${user.token}`);
|
||||
const ws = new WebSocket(`ws://localhost:8080/streaming?i=${user.token}`);
|
||||
|
||||
ws.on('open', () => {
|
||||
ws.on('message', data => {
|
||||
|
||||
Reference in New Issue
Block a user