This commit is contained in:
Laura Hausmann 2023-04-05 20:26:12 +02:00
parent 681357759e
commit e331bd42bc
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -20,7 +20,7 @@ public class RedirectController : Controller {
}
var targetUrl =
$"https://{Vars.AuthProxySubdomain}.{dstDomain}/api/cookieproxy_stage_one?tgt={HttpUtility.UrlEncode(tgt)}";
$"https://{Vars.AuthProxySubdomain}.{Vars.UpstreamPrimaryDomain}/api/cookieproxy_stage_one?tgt={HttpUtility.UrlEncode(tgt)}";
Response.Redirect(targetUrl);
return Content($"Redirecting... <a href=\"{targetUrl}\">Click here if you are not redirected automatically</a>", "text/html");
}