Skip to content
Snippets Groups Projects
Verified Commit 2cea1364 authored by Mar0xy's avatar Mar0xy
Browse files

revert: socket change

parent 1fe51a87
No related branches found
No related tags found
No related merge requests found
......@@ -652,7 +652,7 @@ namespace MisskeyAPI {
throw new Error('accessToken is required')
}
const url = this.baseUrl + '/streaming'
const streaming = new WebSocket(url.replace('/api/v1/streaming', ''), channel, this.accessToken, listId, this.userAgent, this.proxyConfig)
const streaming = new WebSocket(url, channel, this.accessToken, listId, this.userAgent, this.proxyConfig)
process.nextTick(() => {
streaming.start()
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment