Fix the YouTube GDPR cookie not being sent along with requests (#2315)
This commit is contained in:
parent
470e9ceba5
commit
e2c7fa35a3
|
@ -147,7 +147,8 @@ function runApp() {
|
||||||
session.defaultSession.cookies.set({
|
session.defaultSession.cookies.set({
|
||||||
url: url,
|
url: url,
|
||||||
name: 'CONSENT',
|
name: 'CONSENT',
|
||||||
value: 'YES+'
|
value: 'YES+',
|
||||||
|
sameSite: 'no_restriction'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue