mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-25 23:17:23 +00:00
save host when using dash manifest
This commit is contained in:
parent
c28b1f6fb9
commit
b7fe1db89a
@ -3190,7 +3190,8 @@ get "/api/manifest/dash/id/:id" do |env|
|
|||||||
url = url.rchop("</BaseURL>")
|
url = url.rchop("</BaseURL>")
|
||||||
|
|
||||||
if local
|
if local
|
||||||
url = URI.parse(url).full_path
|
uri = URI.parse(url)
|
||||||
|
url = "#{uri.full_path}host/#{uri.host}/"
|
||||||
end
|
end
|
||||||
|
|
||||||
"<BaseURL>#{url}</BaseURL>"
|
"<BaseURL>#{url}</BaseURL>"
|
||||||
|
Loading…
Reference in New Issue
Block a user