Fix proxy glitch
This commit is contained in:
parent
0d684ca4f3
commit
fb192d5af7
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ namespace Ksp.WebServer
|
||||||
{
|
{
|
||||||
response.Headers.Location = new UriBuilder(response.Headers.Location) {
|
response.Headers.Location = new UriBuilder(response.Headers.Location) {
|
||||||
Host = cx.Request.Host.Host,
|
Host = cx.Request.Host.Host,
|
||||||
Port = cx.Request.Host.Port.Value,
|
Port = cx.Request.Host.Port ?? (cx.Request.Scheme == "https" ? 443 : 80),
|
||||||
Scheme = cx.Request.Scheme
|
Scheme = cx.Request.Scheme
|
||||||
}.Uri;
|
}.Uri;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue