aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-02-03 21:59:47 +0100
committerGravatar Christopher Baklid <[email protected]>2018-02-03 21:59:47 +0100
commitaf2bf8060c6eb001e5f452532be98188fcd3a7e6 (patch)
tree7d10c32bc6ffce8a9b2f70d60380135514070192
parentadds a catchall for 404 and a healthcheck route (diff)
satisfy snekcheck
-rw-r--r--app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.py b/app.py
index 3c3cc828..ce52f216 100644
--- a/app.py
+++ b/app.py
@@ -18,12 +18,12 @@ def _index():
@app.route("/healthcheck")
-def healthcheck():
+def _healthcheck():
return jsonify({"status":"ok"})
@app.errorhandler(404)
-def page_not_found(e):
+def _page_not_found(e):
return "replace me with a template, 404 not found", 404