Minor cleanup in Startup class

This commit is contained in:
Patrick Barron 2023-01-11 22:09:14 -05:00
parent 159e74ea09
commit 0f46eca6a4

View File

@ -204,7 +204,7 @@ namespace Jellyfin.Server
endpoints.MapControllers(); endpoints.MapControllers();
if (_serverConfigurationManager.Configuration.EnableMetrics) if (_serverConfigurationManager.Configuration.EnableMetrics)
{ {
endpoints.MapMetrics("/metrics"); endpoints.MapMetrics();
} }
endpoints.MapHealthChecks("/health"); endpoints.MapHealthChecks("/health");