mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-03 04:27:02 +00:00
Add support to make invidious API-only via flag (#2363)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
{% skip_file if flag?(:api_only) %}
|
||||
|
||||
module Invidious::Routes::Embed
|
||||
def self.redirect(env)
|
||||
locale = LOCALES[env.get("preferences").as(Preferences).locale]?
|
||||
|
||||
Reference in New Issue
Block a user