narrow-printer-24953
09/28/2022, 6:01 PM// Load feature definitions from API
// In production, we recommend putting a CDN in front of the API endpoint
fetch('api-endpoint')
.then((res) => res.json())
.then((json) => {
growthbook.setFeatures(json.features);
});
What I’d like to know is why are putting a CDN in front of the API endpoint recommended in this instance? Is the API endpoint private?fresh-football-47124
narrow-printer-24953
09/28/2022, 6:03 PMfresh-football-47124
fierce-church-81643
10/18/2022, 9:38 AMfresh-football-47124
fierce-church-81643
10/18/2022, 11:27 AM