diff --git a/server.py b/server.py index 95058c6..9f44295 100755 --- a/server.py +++ b/server.py @@ -1697,6 +1697,12 @@ def updateSelectedMsg(): return index() +@app.route("/savePromptStartStop", methods=["PUT", "POST"]) +def savePromptStartStop(): + stop() + time.sleep(0.1) + start() + return index() if __name__ == "__main__":