aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-02-21 09:46:22 -0500
committerLuke <luke.pulverenti@gmail.com>2016-02-21 09:46:22 -0500
commiteebec1b98b1b8b887bc6e69ab9e0d642df49c43f (patch)
tree81f56ade15ab1a69677e83dbcd6ea8633ad89d02 /MediaBrowser.Server.Implementations/HttpServer
parent08c78a4f351f6d38199df639e0cfaa8ab4ea11f2 (diff)
parentad8b43cc3d04ce17139976ec91a45f4a2004a0c3 (diff)
Merge pull request #1483 from MediaBrowser/dev
merge from dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
index e69ff367a..c284007f7 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -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;