This commit is contained in:
Beverly Nguyen
2025-04-17 11:48:55 -07:00
parent a3eeeb2b2c
commit 8dfa881f26

View File

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