reboot after resetting files

This commit is contained in:
Justin 2022-06-24 15:46:11 +08:00 committed by GitHub
parent 01218d53d5
commit e5a081246a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,6 +368,7 @@ def restart():
def reset():
os.system("sudo ./setup_config_files.sh")
os.system("sudo reboot now")
return index()
@app.route("/save", methods = ['PUT', 'POST', 'GET'])