Fix the YouTube GDPR cookie not being sent along with requests (#2316)

This commit is contained in:
absidue 2022-06-16 00:41:01 +02:00 committed by GitHub
parent ae654a1581
commit c2c555573e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,8 @@ function runApp() {
session.defaultSession.cookies.set({
url: url,
name: 'CONSENT',
value: 'YES+'
value: 'YES+',
sameSite: 'no_restriction'
})
})