mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
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`.
This commit is contained in:
parent
4a45d10a8b
commit
ca5d5668d9
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ def make_host_url(kemal_config)
|
||||||
|
|
||||||
# Add if non-standard port
|
# Add if non-standard port
|
||||||
if port != 80 && port != 443
|
if port != 80 && port != 443
|
||||||
port = ":#{kemal_config.port}"
|
port = ":#{port}"
|
||||||
else
|
else
|
||||||
port = ""
|
port = ""
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue