From e2c7fa35a3f6e00a3bda6d0c7df8353c4fb98063 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Thu, 16 Jun 2022 00:40:46 +0200 Subject: [PATCH] Fix the YouTube GDPR cookie not being sent along with requests (#2315) --- src/main/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index dbf6378e..6a1582ab 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -147,7 +147,8 @@ function runApp() { session.defaultSession.cookies.set({ url: url, name: 'CONSENT', - value: 'YES+' + value: 'YES+', + sameSite: 'no_restriction' }) })