The Free Software Media System - Server Backend & API
Metrics endpoint now respects baseurl
sparky8251997b71bbefa9
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.csindex 8f85161c7d..2cc7cff87e 100644--- a/Jellyfin.Server/Startup.cs+++ b/Jellyfin.Server/Startup.cs@@ -80,7 +80,7 @@ namespace Jellyfin.Serverendpoints.MapControllers();if (_serverConfigurationManager.Configuration.EnableMetrics){- endpoints.MapMetrics();+ endpoints.MapMetrics(_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/') + "/metrics");}});