diff --git a/static/app.js b/static/app.js index 20f63bd..f8e7ed5 100755 --- a/static/app.js +++ b/static/app.js @@ -3175,16 +3175,13 @@ function savePrompt() { setTimeout( function() { document.getElementById('saved-msg-feedback').style.display = "block"; - fetch("/stop", { - method: "GET", + fetch("/savePromptStartStop", { + method: "PUT", }); }, 100); setTimeout( function() { document.getElementById('saved-msg-feedback').style.display = "none"; - fetch("/start", { - method: "PUT", - }); }, 3000); }