[1] Refine README; [2] Use default setting when run the app

This commit is contained in:
XD-DENG
2017-07-01 22:11:06 +08:00
parent 94a1a850b7
commit 3d5f4e4c6b
2 changed files with 11 additions and 7 deletions

7
app.py
View File

@@ -37,10 +37,6 @@ def FUN_private():
else:
return abort(401)
@app.route("/admin/")
def FUN_admin():
if session.get("current_user", None) == "ADMIN":
@@ -101,6 +97,5 @@ def FUN_add_user():
if __name__ == "__main__":
app.run(debug=True, port = 9000, host="0.0.0.0")
app.run(debug=True)