Flag Defaults

In case your application can't reach toggly, you can set feature defaults

var featureFlagDefaults = {
  firstFeature: true,
  secondFeature: false,
}

app.use(toggly, {
  appKey: "<YOUR_APP_KEY>", // You can find this in app.toggly.io
  environment: "<YOUR_APP_ENVIRONMENT>", // You can find this in app.toggly.io
  identity: "<UNIQUE_USER_IDENTIFIER>", // Use this in case you want to support custom feature rollouts
  featureDefaults: featureFlagDefaults
});

Last updated