mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-15 23:37:25 +00:00
Add path attribute to cookie banner cookie attributes (#16783)
GitOrigin-RevId: 4e576bed42bdc053d867fd0a20336166df1de74e
This commit is contained in:
parent
341e1433de
commit
59d4f0e5a2
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ function setConsent(value) {
|
|||
const cookieDomain = window.ExposedSettings.cookieDomain
|
||||
const oneYearInSeconds = 60 * 60 * 24 * 365
|
||||
const cookieAttributes =
|
||||
'; path=/' +
|
||||
'; domain=' +
|
||||
cookieDomain +
|
||||
'; max-age=' +
|
||||
|
|
Loading…
Add table
Reference in a new issue