diff --git a/src/middleware/featureFlag.ts b/src/middleware/featureFlag.ts index 2b9208ca2..bc1223e99 100644 --- a/src/middleware/featureFlag.ts +++ b/src/middleware/featureFlag.ts @@ -6,7 +6,7 @@ import { getNewGrowthbookInstance } from "@root/utils/growthbook-utils" // Keep one GrowthBook instance at module level // The instance will handle internal cache refreshes via a SSE connection -export const gb = getNewGrowthbookInstance({ +const gb = getNewGrowthbookInstance({ clientKey: config.get("growthbook.clientKey"), subscribeToChanges: true, })