|
|
@ -3,7 +3,7 @@ using System.ComponentModel;
|
|
|
|
using System.Net.Http.Headers;
|
|
|
|
using System.Net.Http.Headers;
|
|
|
|
using Jellyfin.Api.TypeConverters;
|
|
|
|
using Jellyfin.Api.TypeConverters;
|
|
|
|
using Jellyfin.Server.Extensions;
|
|
|
|
using Jellyfin.Server.Extensions;
|
|
|
|
using Jellyfin.Server.HealthChecks;
|
|
|
|
using Jellyfin.Server.Implementations;
|
|
|
|
using Jellyfin.Server.Middleware;
|
|
|
|
using Jellyfin.Server.Middleware;
|
|
|
|
using Jellyfin.Server.Models;
|
|
|
|
using Jellyfin.Server.Models;
|
|
|
|
using MediaBrowser.Common.Net;
|
|
|
|
using MediaBrowser.Common.Net;
|
|
|
@ -79,7 +79,7 @@ namespace Jellyfin.Server
|
|
|
|
.ConfigurePrimaryHttpMessageHandler(x => new DefaultHttpClientHandler());
|
|
|
|
.ConfigurePrimaryHttpMessageHandler(x => new DefaultHttpClientHandler());
|
|
|
|
|
|
|
|
|
|
|
|
services.AddHealthChecks()
|
|
|
|
services.AddHealthChecks()
|
|
|
|
.AddCheck<JellyfinDbHealthCheck>("JellyfinDb");
|
|
|
|
.AddDbContextCheck<JellyfinDb>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|