Update server.py
This commit is contained in:
parent
00ab23da35
commit
050008197b
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user