Feat: Add api endpoint to resolve youtube urls

This commit is contained in:
ChunkyProgrammer
2023-02-02 11:52:31 -05:00
parent 3b8e6c6040
commit bf5175d1e9
2 changed files with 28 additions and 0 deletions

View File

@@ -281,6 +281,7 @@ module Invidious::Routing
get "/api/v1/playlists/:plid", {{namespace}}::Misc, :get_playlist
get "/api/v1/auth/playlists/:plid", {{namespace}}::Misc, :get_playlist
get "/api/v1/mixes/:rdid", {{namespace}}::Misc, :mixes
get "/api/v1/resolveurl", {{namespace}}::Misc, :resolve_url
{% end %}
end
end