mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
update db migration
This commit is contained in:
parent
e5f80aebd0
commit
94c70af4ad
5 changed files with 13 additions and 22 deletions
|
|
@ -241,7 +241,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
|||
}
|
||||
catch (Exception errorEx)
|
||||
{
|
||||
_logger.ErrorException("Error this.ProcessRequest(context)(Exception while writing error to the response)", errorEx);
|
||||
//_logger.ErrorException("Error this.ProcessRequest(context)(Exception while writing error to the response)", errorEx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -350,10 +350,12 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(GlobalResponse))
|
||||
{
|
||||
httpRes.Write(GlobalResponse);
|
||||
httpRes.ContentType = "text/plain";
|
||||
|
||||
if (!string.Equals(GetExtension(urlString), "html", StringComparison.OrdinalIgnoreCase))
|
||||
if (string.Equals(GetExtension(urlString), "html", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
httpRes.Write(GlobalResponse);
|
||||
httpRes.ContentType = "text/plain";
|
||||
}
|
||||
else
|
||||
{
|
||||
httpRes.StatusCode = 503;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue