External Proxies: Proxyfi HLS Playlists
All checks were successful
Invidious CI / build (push) Successful in 5m22s
All checks were successful
Invidious CI / build (push) Successful in 5m22s
This commit is contained in:
parent
9a66a7bd51
commit
8d7ca9a4e2
1 changed files with 7 additions and 1 deletions
|
@ -210,7 +210,13 @@ module Invidious::Routes::API::Manifest
|
|||
|
||||
raw_params["host"] = uri.host.not_nil!
|
||||
|
||||
"#{HOST_URL}/videoplayback?#{raw_params}"
|
||||
proxy = Invidious::HttpServer::Utils.get_external_proxy
|
||||
|
||||
if !proxy.empty?
|
||||
"#{proxy}/videoplayback?#{raw_params}"
|
||||
else
|
||||
"#{HOST_URL}/videoplayback?#{raw_params}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue