mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 01:55:41 -04:00
fix test
This commit is contained in:
@@ -25,10 +25,8 @@ from app.utils.user import user_is_logged_in
|
|||||||
def check_feature_flags():
|
def check_feature_flags():
|
||||||
# Placeholder for future feature flag checks
|
# Placeholder for future feature flag checks
|
||||||
# Example:
|
# Example:
|
||||||
if "/jobs" in request.path and not current_app.config.get(
|
# if request.path.startswith("/some-feature") and not current_app.config.get("FEATURE_SOME_FEATURE_ENABLED", False):
|
||||||
"FEATURE_SOCKET_ENABLED", False
|
# abort(404)
|
||||||
):
|
|
||||||
abort(404)
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user