strong-receptionist-72327
03/02/2023, 3:33 AMfresh-football-47124
strong-receptionist-72327
03/02/2023, 3:38 AMfresh-football-47124
if (gb.isOn("my-feature")) {
window.location = someurl
}
or something like
const flagValue = gb.getFeatureValue("my-feature", "");
if (flagValue.startWith("http")) {
window.location = flagValue;
}
just be careful with the cases - a variation with an extra redirect may perform differently just by having one more redirectstrong-receptionist-72327
03/02/2023, 5:42 AM