mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 06:23:09 +02:00
revert: socket change
This commit is contained in:
parent
1fe51a870b
commit
2cea136458
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue