Hi guys, I am working on a NextJS project. Due to legal requirement, I want to avoid the client side sdk to fetch feature definitions from growthbook’s cdn. I stored the feature definition locally in the filesystem, and the growthbook instance is initialized with the definitions during SSR. However when the code is sent to client’s browser, I still see the sdk fetching the definitions from CDN again. Any idea?🙏
It probably depends on where you are loading the SDK. There should be ways around preventing it from reaching the client. One way I can think of is to use a Next.js route handler