mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-15 09:35:09 +00:00
Major cleanup
This commit is contained in:
@@ -127,3 +127,13 @@ def arg_array(array, start = 1)
|
||||
|
||||
return args
|
||||
end
|
||||
|
||||
def make_host_url(ssl, host)
|
||||
if ssl
|
||||
scheme = "https://"
|
||||
else
|
||||
scheme = "http://"
|
||||
end
|
||||
|
||||
return "#{scheme}#{host}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user