mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-29 15:14:35 +02:00
Increase server ping timeout
This commit is contained in:
parent
f65f7b01c3
commit
033f066568
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ export default {
|
||||||
},
|
},
|
||||||
pingServerAddress(address) {
|
pingServerAddress(address) {
|
||||||
return this.$axios
|
return this.$axios
|
||||||
.$get(`${address}/ping`, { timeout: 1000 })
|
.$get(`${address}/ping`, { timeout: 3000 })
|
||||||
.then((data) => data.success)
|
.then((data) => data.success)
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('Server check failed', error)
|
console.error('Server check failed', error)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue