forked from midou/invidious
Use config.domain in place of hardcoded value
This commit is contained in:
@@ -15,7 +15,10 @@ class Config
|
||||
https_only: Bool?,
|
||||
hmac_key: String?,
|
||||
full_refresh: Bool,
|
||||
domain: String?,
|
||||
domain: {
|
||||
type: String?,
|
||||
default: "invidio.us",
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
|
@@ -205,8 +205,6 @@ def make_host_url(ssl, host)
|
||||
scheme = "http://"
|
||||
end
|
||||
|
||||
host ||= "invidio.us"
|
||||
|
||||
return "#{scheme}#{host}"
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user