mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 09:58:50 +00:00
Restructure API routes to use more namespaces
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module Invidious::Routes::APIv1
|
||||
module Invidious::Routes::APIv1::Misc
|
||||
# Stats API endpoint for Invidious
|
||||
def self.stats(env)
|
||||
locale = LOCALES[env.get("preferences").as(Preferences).locale]?
|
||||
|
||||
Reference in New Issue
Block a user