Merge pull request #2895 from MathiusD/master

Persist player volume/speed
This commit is contained in:
Samantaz Fox 2022-04-09 20:05:28 +02:00 committed by GitHub
commit 8262aa4138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 66 additions and 2 deletions

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