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

[Bug] whitelistPage and blacklistPage options are not working well #131

Open
ScorprocS opened this issue Feb 6, 2023 · 0 comments
Open

Comments

@ScorprocS
Copy link

ScorprocS commented Feb 6, 2023

Ngx-CookieConsent Version

4.0.1

CookieConsent Version

3.1.1

Angular CLI (or Nx CLI) Version

14.2.10

Node Version

18.12.1

OS Version

Windows & Debian

Expected Behaviour

When I put page url into whitelistPage or blacklistPage option it should either show on the only specified page or prevent from showing on the listed page but none of them worked.

Actual Behaviour

It does nothing

Steps to reproduce the behaviour

  1. configure the poject exactly like discribed https://www.npmjs.com/package/ngx-cookieconsent/v/4.0.1
  2. add whitlistPage or blacklistPage to cookieConfig:NgcCookieConsentConfig

cookieConfig:NgcCookieConsentConfig = {...
whitelistPage: ['/','/explore'], ///I've tried pattern matcher also but it doesn't work too

@ScorprocS ScorprocS changed the title [Bug] whitelistPage and blacklistPage option are not working well [Bug] whitelistPage and blacklistPage options are not working well Feb 6, 2023
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