mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Allow 'host' header to be optional
This commit is contained in:
parent
d51b23bc16
commit
a29458e32f
2 changed files with 7 additions and 5 deletions
|
@ -135,5 +135,7 @@ def make_host_url(ssl, host)
|
|||
scheme = "http://"
|
||||
end
|
||||
|
||||
host ||= "invidio.us"
|
||||
|
||||
return "#{scheme}#{host}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue