diff --git a/routes/main_routes.py b/routes/main_routes.py index 3765c0c..f2095b8 100644 --- a/routes/main_routes.py +++ b/routes/main_routes.py @@ -4,7 +4,7 @@ from utils.haproxy_config import update_haproxy_config, is_frontend_exist, count main_bp = Blueprint('main', __name__) -@main_bp.route('/', methods=['GET', 'POST'], endpoint='home') +@main_bp.route('/', methods=['GET', 'POST']) @requires_auth def index(): if request.method == 'POST': diff --git a/templates/base.html b/templates/base.html index cad8bcf..0ae4b77 100644 --- a/templates/base.html +++ b/templates/base.html @@ -18,13 +18,13 @@