From 5552fb8c78ff2b13483380349d17092d8ac0ddb0 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 30 Jun 2014 03:21:29 -0400 Subject: [PATCH] Remove /debug. --- app.fcgi | 5 ----- templates/debug.mako | 10 ---------- 2 files changed, 15 deletions(-) delete mode 100644 templates/debug.mako diff --git a/app.fcgi b/app.fcgi index 80599bf..ee804cb 100755 --- a/app.fcgi +++ b/app.fcgi @@ -69,10 +69,5 @@ def settings(): "default_lang": default.lang, "default_project": default.project} return render_template("settings.mako", **kwargs) -@app.route("/debug") -@catch_errors -def debug(): - return render_template("debug.mako") - if __name__ == '__main__': WSGIServer(app).run() diff --git a/templates/debug.mako b/templates/debug.mako deleted file mode 100644 index 7332663..0000000 --- a/templates/debug.mako +++ /dev/null @@ -1,10 +0,0 @@ -<%include file="/support/header.mako" args="title='Debug - Earwig\'s Copyvio Detector'"/> -<%! from flask import request %>\ - -<%include file="/support/footer.mako"/>