kopia lustrzana https://github.com/iv-org/invidious
Fix storyboard when proxied with an external port
Say if it's `http://host:port` internally and proxied to `https://domain:external_port`, the storyboard URL was rendered as `https://domain:port`.pull/2124/head
rodzic
4a45d10a8b
commit
ca5d5668d9
|
@ -298,7 +298,7 @@ def make_host_url(kemal_config)
|
|||
|
||||
# Add if non-standard port
|
||||
if port != 80 && port != 443
|
||||
port = ":#{kemal_config.port}"
|
||||
port = ":#{port}"
|
||||
else
|
||||
port = ""
|
||||
end
|
||||
|
|
Ładowanie…
Reference in New Issue