feat: add cookie persistence config to consent banner

This commit is contained in:
Paul Gauthier (aider) 2024-12-09 14:39:19 -08:00
parent 1a12322354
commit 1925e4a7f4

View file

@ -36,6 +36,15 @@ window.addEventListener('load', function(){
}
},
type: "opt-in",
position: "bottom-left",
showLink: false,
dismissOnScroll: true,
cookie: {
name: 'cookieconsent_status',
path: '/',
domain: 'aider.chat',
expiryDays: 365
},
content: {
message: "This website uses analytics cookies to help us understand how you use the site.",
dismiss: "Decline",