Remove catch_all route
This commit is contained in:
parent
bdc03fb0a2
commit
158f7f43d7
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user