mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Fixing feature flag
This commit is contained in:
@@ -25,9 +25,7 @@ from app.utils.user import user_is_logged_in
|
||||
def check_feature_flags():
|
||||
# Placeholder for future feature flag checks
|
||||
# Example:
|
||||
if request.path.startswith("/jobs") and not current_app.config.get(
|
||||
"FEATURE_SOCKET_ENABLED", False
|
||||
):
|
||||
if "/jobs" in request.path and not current_app.config.get("FEATURE_SOCKET_ENABLED", False):
|
||||
abort(404)
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user