Fixing feature flag

This commit is contained in:
Beverly Nguyen
2025-04-16 13:04:55 -07:00
parent ca1e87a54b
commit 88e9f1dec6
2 changed files with 2 additions and 4 deletions

View File

@@ -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