Skip to content

Make it clearer in the doc how to setup feature flag #333

@ajubin

Description

@ajubin

It's not really clear what to provide when configuring the module,

maybe do this instead

UnleashModule.forRoot({
    url: 'https://<path-to-your-unleash-server>/api/client',
    appName: '<name-of-your-app-on-unleash>',
    instanceId: '<pick-a-unique-id-to-identify-this-nest-server-on-unleash>',
    http: {
      headers: {
        Authorization:
          '<your-token-for-the-environment>',
      },
    },
  }),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions