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
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