mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 02:08:23 +00:00
Handle case with included manifest
This commit is contained in:
parent
1fb0a49592
commit
910809f1eb
@ -29,7 +29,7 @@ module Invidious::Routes::API::Manifest
|
|||||||
|
|
||||||
if local
|
if local
|
||||||
uri = URI.parse(url)
|
uri = URI.parse(url)
|
||||||
url = "#{uri.request_target}host/#{uri.host}/"
|
url = "#{HOST_URL}#{uri.request_target}host/#{uri.host}/"
|
||||||
end
|
end
|
||||||
|
|
||||||
"<BaseURL>#{url}</BaseURL>"
|
"<BaseURL>#{url}</BaseURL>"
|
||||||
|
Loading…
Reference in New Issue
Block a user