Allow 'host' header to be optional

This commit is contained in:
Omar Roth 2018-08-05 14:37:32 -05:00
parent d51b23bc16
commit a29458e32f
2 changed files with 7 additions and 5 deletions

View file

@ -135,5 +135,7 @@ def make_host_url(ssl, host)
scheme = "http://"
end
host ||= "invidio.us"
return "#{scheme}#{host}"
end