mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-24 07:41:38 +00:00
Merge pull request #2576 from SamantazFox/fix-locales-handling
Fix locales handling
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module Invidious::Routes::VideoPlayback
|
||||
# /videoplayback
|
||||
def self.get_video_playback(env)
|
||||
locale = LOCALES[env.get("preferences").as(Preferences).locale]?
|
||||
locale = env.get("preferences").as(Preferences).locale
|
||||
query_params = env.params.query
|
||||
|
||||
fvip = query_params["fvip"]? || "3"
|
||||
|
||||
Reference in New Issue
Block a user