Move store of modification in Cookie instead of localStorage

This commit is contained in:
Féry Mathieu (Mathius)
2022-02-12 22:07:41 +01:00
parent 17ae2648ed
commit 7048193f00
4 changed files with 48 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ struct Invidious::User
value: URI.encode_www_form(preferences.to_json),
expires: Time.utc + 2.years,
secure: SECURE,
http_only: true
http_only: false
)
end
end