update local pin feature

This commit is contained in:
Luke Pulverenti
2016-02-21 01:25:25 -05:00
parent e700aff047
commit ad8b43cc3d
7 changed files with 104 additions and 47 deletions

View File

@@ -348,6 +348,12 @@ namespace MediaBrowser.Server.Implementations.HttpServer
return Task.FromResult(true);
}
if (string.Equals(localPath, "/emby/pin", StringComparison.OrdinalIgnoreCase))
{
httpRes.RedirectToUrl("web/pin.html");
return Task.FromResult(true);
}
if (!string.IsNullOrWhiteSpace(GlobalResponse))
{
httpRes.StatusCode = 503;