Change the redirection to use a relative uri redirect #473

This commit is contained in:
tidusjar 2016-08-21 19:33:19 +01:00
parent 0fe7bba9ac
commit 4b5079598d
4 changed files with 15 additions and 15 deletions

View file

@ -52,7 +52,7 @@ namespace PlexRequests.UI.Modules
var s = await LandingSettings.GetSettingsAsync();
if (!s.BeforeLogin && string.IsNullOrEmpty(Username)) //We are signed in
{
var url = Linker.BuildAbsoluteUri(Context, "SearchIndex").ToString();
var url = Linker.BuildRelativeUri(Context, "SearchIndex").ToString();
return Response.AsRedirect(url);
}