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