mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
feat: add cookie persistence config to consent banner
This commit is contained in:
parent
1a12322354
commit
1925e4a7f4
1 changed files with 9 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue