mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-07-13 23:42:21 +00:00
Merge pull request #127 from benonymity/PingTimeout
Increase server ping timeout
This commit is contained in:
commit
441bc24e2d
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ export default {
|
|||
},
|
||||
pingServerAddress(address) {
|
||||
return this.$axios
|
||||
.$get(`${address}/ping`, { timeout: 1000 })
|
||||
.$get(`${address}/ping`, { timeout: 3000 })
|
||||
.then((data) => data.success)
|
||||
.catch((error) => {
|
||||
console.error('Server check failed', error)
|
||||
|
|
|
|||
Loading…
Reference in a new issue