mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 22:57:16 +02:00
Increase server ping timeout
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user