Решение проблемы невалидного tls-сертификата

This commit is contained in:
Book Pauk
2022-07-19 00:27:54 +07:00
parent 6129d2d7eb
commit fbfe8cbda0
3 changed files with 7 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ class RemoteStorage {
this.accessToken = this.config.accessToken;
this.wsc = new WebSocketConnection(config.url);
this.wsc = new WebSocketConnection(config.url, 10, 30, {rejectUnauthorized: false});
}
async wsRequest(query) {