diff --git a/mopidy_musicbox_webclient/static/js/controls.js b/mopidy_musicbox_webclient/static/js/controls.js index 3502144..825974e 100644 --- a/mopidy_musicbox_webclient/static/js/controls.js +++ b/mopidy_musicbox_webclient/static/js/controls.js @@ -612,13 +612,13 @@ function saveRadioStations() { } function haltSystem() { - $.post("/haltSystem"); + $.post("/settings/shutdown"); toast('Stopping system...', 10000); setTimeout(function(){window.history.back();}, 10000); } function rebootSystem() { - $.post("/rebootSystem"); + $.post("/settings/reboot"); toast('Rebooting...', 10000); setTimeout(function(){window.history.back();}, 10000); }