mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-14 16:04:47 +02:00
do not delete ServerUrl when connect fail
This commit is contained in:
parent
f1287dda07
commit
683af098de
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class Server extends EventEmitter {
|
|||
var res = await this.ping(serverUrl)
|
||||
|
||||
if (!res || !res.success) {
|
||||
this.setServerUrl(null)
|
||||
//this.setServerUrl(null)
|
||||
return false
|
||||
}
|
||||
var authRes = await this.authorize(serverUrl, token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue