Skip to content

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

@ScorprocS

Description

@ScorprocS

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

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