diff --git a/routes/main_routes.py b/routes/main_routes.py index f2095b8..3765c0c 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']) +@main_bp.route('/', methods=['GET', 'POST'], endpoint='home') @requires_auth def index(): if request.method == 'POST':