onboarding work, now waits to start daemon timers
This commit is contained in:
parent
fb975dc52c
commit
1de668a9e5
9 changed files with 102 additions and 28 deletions
|
@ -41,3 +41,16 @@ restartBtn.onclick = function(){
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
fetch('/config/get/onboarding.done', {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
"content-type": "application/json",
|
||||
"token": webpass
|
||||
}})
|
||||
.then((resp) => resp.text()) // Transform the data into text
|
||||
.then(function(data) {
|
||||
if (data === 'false'){
|
||||
window.location.href = window.location.pathname = "/onboarding/" + window.location.hash
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue