mirror of
https://github.com/iv-org/invidious.git
synced 2025-12-16 08:53:57 -05:00
Merge ea0e377628 into 994c25de2e
This commit is contained in:
commit
45c7305845
1 changed files with 4 additions and 2 deletions
|
|
@ -231,8 +231,10 @@ module Invidious::Routes::Channels
|
|||
env.redirect "/post/#{URI.encode_www_form(lb)}?ucid=#{URI.encode_www_form(ucid)}"
|
||||
end
|
||||
|
||||
thin_mode = env.params.query["thin_mode"]? || env.get("preferences").as(Preferences).thin_mode
|
||||
thin_mode = thin_mode == "true"
|
||||
preferences = env.get("preferences").as(Preferences)
|
||||
|
||||
thin_mode = env.params.query["thin_mode"]?
|
||||
thin_mode = (thin_mode == "true") || preferences.thin_mode
|
||||
|
||||
continuation = env.params.query["continuation"]?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue