mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
update local pin feature
This commit is contained in:
parent
e700aff047
commit
ad8b43cc3d
7 changed files with 104 additions and 47 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue