Fix url
This commit is contained in:
parent
681357759e
commit
e331bd42bc
|
@ -20,7 +20,7 @@ public class RedirectController : Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
var targetUrl =
|
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);
|
Response.Redirect(targetUrl);
|
||||||
return Content($"Redirecting... <a href=\"{targetUrl}\">Click here if you are not redirected automatically</a>", "text/html");
|
return Content($"Redirecting... <a href=\"{targetUrl}\">Click here if you are not redirected automatically</a>", "text/html");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue