Update server.py

This commit is contained in:
Neythen Treloar 2021-12-01 16:47:08 +00:00 committed by GitHub
parent 00ab23da35
commit 050008197b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,6 +185,7 @@ def stop():
@app.route("/update", methods=['PUT','POST']) @app.route("/update", methods=['PUT','POST'])
def update(): def update():
os.system("./update.sh") os.system("./update.sh")
return index()
@app.route("/display_format", methods = ['PUT', 'POST', 'GET']) @app.route("/display_format", methods = ['PUT', 'POST', 'GET'])
def display_format(): def display_format():