浏览代码

Minor cleanup in Startup class

Patrick Barron 2 年之前
父节点
当前提交
0f46eca6a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Server/Startup.cs

+ 1 - 1
Jellyfin.Server/Startup.cs

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