Эх сурвалжийг харах

Add path attribute to cookie banner cookie attributes (#16783)

GitOrigin-RevId: 4e576bed42bdc053d867fd0a20336166df1de74e
Thomas 2 жил өмнө
parent
commit
59d4f0e5a2

+ 1 - 0
services/web/frontend/js/features/cookie-banner/index.js

@@ -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=' +