diff options
author | 2018-02-04 17:27:05 +0000 | |
---|---|---|
committer | 2018-02-04 17:27:05 +0000 | |
commit | 720ca58cd4feb2f3b6e463493291c94a9fdd9548 (patch) | |
tree | 30de2e61e67aba35a33d51a9b48bb98633a6534e /app.py | |
parent | Merge branch 'master' of github.com:discord-python/webpage (diff) |
Merged stuff
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,12 +22,12 @@ def invite(): return redirect("https://invite.pythondiscord.com/") @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 |