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

PR proposal: StageEnvironment behaviour #7

Open
logemann opened this issue Dec 21, 2020 · 0 comments
Open

PR proposal: StageEnvironment behaviour #7

logemann opened this issue Dec 21, 2020 · 0 comments

Comments

@logemann
Copy link

Hi,

i needed different behaviour of this plugin when requests are made to a staging environment for several reasons like visual test automation (where you dont want that cookie banner to appear) and other reasons (like local development).

If you like, i could create a PR for my changes made at https://github.com/logemann/gatsby-plugin-cookiehub-banner/
Most notable changes are described in the README (https://github.com/logemann/gatsby-plugin-cookiehub-banner/blob/master/README.md). See stageMode and stageHosts Parameter.

This code is not yet battle tested. Just finished it.

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

1 participant