Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajubin opened this issue Apr 13, 2022 · 1 comment
Open

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

ajubin opened this issue Apr 13, 2022 · 1 comment

Comments

@ajubin
Copy link

ajubin commented Apr 13, 2022

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>',
      },
    },
  }),
@MichaelPappas26623
Copy link

+1 on this one , please update the README if you have time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants