mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 18:37:33 -04:00
Updated url
This commit is contained in:
@@ -23,7 +23,7 @@ from notifications_utils.url_safe_token import generate_token
|
|||||||
@main.before_request
|
@main.before_request
|
||||||
def check_feature_flags():
|
def check_feature_flags():
|
||||||
if (
|
if (
|
||||||
request.path.startswith("/best-practices")
|
request.path.startswith("/guides/best-practices")
|
||||||
and not current_app.config.get("FEATURE_BEST_PRACTICES_ENABLED", False)
|
and not current_app.config.get("FEATURE_BEST_PRACTICES_ENABLED", False)
|
||||||
):
|
):
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|||||||
Reference in New Issue
Block a user