WIP: legacy WS.

This commit is contained in:
Miroslav Šedivý
2024-07-19 19:10:27 +02:00
parent 5527642878
commit e4c0c68d79
9 changed files with 747 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export class WebsocketReconnector extends ReconnectorAbstract {
}
let url = this._state.url
url = url.replace(/^http/, 'ws').replace(/\/+$/, '') + '/api/ws'
url = url.replace(/^http/, 'ws').replace(/\/+$/, '') + '/ws'
const token = this._state.token
if (token) {