fixed shutdown not working on onboarding page

This commit is contained in:
Kevin Froman 2020-02-28 23:24:32 -06:00
parent 1322352fa2
commit c0def6fb7e
4 changed files with 7 additions and 3 deletions

View file

@ -23,7 +23,7 @@ restartBtn = document.getElementById('restartNode')
shutdownBtn.onclick = function(){
if (! nowebpass){
if (confirm("Really shutdown Onionr?")){
httpGet('shutdownclean')
httpGet('/shutdownclean')
overlay('shutdownNotice')
}
}