mirror of
https://github.com/iv-org/invidious.git
synced 2026-07-08 14:52:00 +00:00
Feature Request: Localization for trending iv-org#331
This commit is contained in:
@@ -48,7 +48,7 @@ module Invidious::Routes::Feeds
|
||||
trending_type ||= "Default"
|
||||
|
||||
region = env.params.query["region"]?
|
||||
region ||= "US"
|
||||
region ||= env.get("preferences").as(Preferences).region
|
||||
|
||||
begin
|
||||
trending, plid = fetch_trending(trending_type, region, locale)
|
||||
|
||||
Reference in New Issue
Block a user