From c432e434ae9312337636a247eb2c20dc102f1aa2 Mon Sep 17 00:00:00 2001 From: alexjanousekGSA Date: Fri, 15 Nov 2024 12:12:04 -0500 Subject: [PATCH] Updated url --- app/main/views/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/index.py b/app/main/views/index.py index 0ad44267e..974e29211 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -23,7 +23,7 @@ from notifications_utils.url_safe_token import generate_token @main.before_request def check_feature_flags(): if ( - request.path.startswith("/best-practices") + request.path.startswith("/guides/best-practices") and not current_app.config.get("FEATURE_BEST_PRACTICES_ENABLED", False) ): abort(404)