diff --git a/app/base/routes.py b/app/base/routes.py index 01356e0..f2e389e 100644 --- a/app/base/routes.py +++ b/app/base/routes.py @@ -18,12 +18,20 @@ def route_default(): return redirect(url_for('base_blueprint.login')) +@blueprint.route('/') +def catch_all(u_path): + return render_template('errors/page_404.html'), 404 + + @blueprint.route('/