mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-23 01:45:41 +00:00
Allow 'host' header to be optional
This commit is contained in:
@@ -135,5 +135,7 @@ def make_host_url(ssl, host)
|
||||
scheme = "http://"
|
||||
end
|
||||
|
||||
host ||= "invidio.us"
|
||||
|
||||
return "#{scheme}#{host}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user