Palmabit-IT / react-cookie-law

React Cookie Law is a cookie-info banner compliance with the GDPR and the EU cookie law. It allows the user to give consent in a granular way.
115 stars 55 forks source link

Fix #16 - add support for root domain path in cookies and prevent CookieBanner to show up on every page even if already set #18

Closed b3nab closed 4 years ago

b3nab commented 4 years ago

With only 2 lines changes and 4 additional lines of code I added a fix to (optionally) set the cookies on the whole domain adding an option to the Cookie.js file as described in #16

Someone is able to give me a hint if this changes can be approved?

Hoping this PR will be merged soon I'll wish you a good evening.

:clinking_glasses: