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

This commit is contained in:
absidue 2022-06-16 00:40:46 +02:00 committed by GitHub
parent 470e9ceba5
commit e2c7fa35a3
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({ session.defaultSession.cookies.set({
url: url, url: url,
name: 'CONSENT', name: 'CONSENT',
value: 'YES+' value: 'YES+',
sameSite: 'no_restriction'
}) })
}) })