feat: docker auto upgrade

This commit is contained in:
Nick
2019-09-22 16:32:39 -04:00
parent 766eebbe2f
commit d0dc300a59
9 changed files with 273 additions and 44 deletions

View File

@@ -168,10 +168,12 @@ export default {
}).then(res => res.json())
if (resp.ok === true) {
this.success = true
_.delay(() => {
window.location.assign('/login')
}, 3000)
this.success = true
_.delay(() => {
window.location.assign('/login')
}, 3000)
}, 10000)
} else {
this.error = true
this.errorMessage = resp.error