mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-28 10:31:28 +00:00
Move metrics handler registration together with the rest of handlers, into invidious.cr
This commit is contained in:
committed by
Mateusz Bączek
parent
27dd94f60d
commit
8456f8d4cd
@@ -311,7 +311,6 @@ module Invidious::Routing
|
||||
# Misc
|
||||
get "/api/v1/stats", {{namespace}}::Misc, :stats
|
||||
if CONFIG.statistics_enabled
|
||||
add_handler Metrics::METRICS_COLLECTOR
|
||||
get "/api/v1/metrics", {{namespace}}::Misc, :metrics
|
||||
end
|
||||
get "/api/v1/playlists/:plid", {{namespace}}::Misc, :get_playlist
|
||||
|
||||
Reference in New Issue
Block a user