mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-03 20:14:13 -04:00
Merge pull request #2895 from MathiusD/master
Persist player volume/speed
This commit is contained in:
commit
8262aa4138
2 changed files with 66 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue