Merge pull request #2895 from MathiusD/master

Persist player volume/speed
This commit is contained in:
Samantaz Fox authored and GitHub committed 2022-04-09 20:05:28 +02:00
commit 8262aa4138
2 files changed
+66 -2

No files matched your search

+4 -2
View File
@@ -17,7 +17,8 @@ struct Invidious::User
value: sid,
expires: Time.utc + 2.years,
secure: SECURE,
http_only: true
http_only: true,
samesite: HTTP::Cookie::SameSite::Strict
)
end
@@ -30,7 +31,8 @@ struct Invidious::User
value: URI.encode_www_form(preferences.to_json),
expires: Time.utc + 2.years,
secure: SECURE,
http_only: true
http_only: false,
samesite: HTTP::Cookie::SameSite::Strict
)
end
end