diff --git a/megalodon/src/pleroma/web_socket.ts b/megalodon/src/pleroma/web_socket.ts index ae198cf3..4a07cac0 100644 --- a/megalodon/src/pleroma/web_socket.ts +++ b/megalodon/src/pleroma/web_socket.ts @@ -154,7 +154,7 @@ export default class WebSocket extends EventEmitter implements WebSocketInterfac if (accessToken !== null) { parameter.push(`access_token=${accessToken}`) } - const requestURL: string = `${url}/?${parameter.join('&')}` + const requestURL: string = `${url}?${parameter.join('&')}` if (isBrowser()) { // This is browser. // We can't pass options when browser: https://github.com/heineiuo/isomorphic-ws#limitations