From 158f7f43d779f08d51807054a76f556836b971d7 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Wed, 22 Jan 2020 16:53:28 -0500 Subject: [PATCH] Remove catch_all route --- atst/routes/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/atst/routes/__init__.py b/atst/routes/__init__.py index cb298768..78934400 100644 --- a/atst/routes/__init__.py +++ b/atst/routes/__init__.py @@ -47,14 +47,6 @@ def home(): return render_template("home.html") -@bp.route("/") -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")