Remove catch_all route

This commit is contained in:
leigh-mil 2020-01-22 16:53:28 -05:00
parent bdc03fb0a2
commit 158f7f43d7

View File

@ -47,14 +47,6 @@ def home():
return render_template("home.html")
@bp.route("/<path:path>")
def catch_all(path):
try:
return render_template("{}.html".format(path))
except TemplateNotFound:
raise NotFound()
def _client_s_dn():
return request.environ.get("HTTP_X_SSL_CLIENT_S_DN")