aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsparky8251 <sparky@possumlodge.me>2020-04-26 11:52:01 -0400
committersparky8251 <sparky@possumlodge.me>2020-04-26 11:52:01 -0400
commit997b71bbefa91f7a7fd9b499cb3d2ca656de466d (patch)
treef4db5b0f1d457b954ac9c0f2a98207266b97b1d1
parent68c7a914c3acbd21a9ca879829bf6a670d4cf185 (diff)
Metrics endpoint now respects baseurl
-rw-r--r--Jellyfin.Server/Startup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Startup.cs b/Jellyfin.Server/Startup.cs
index 8f85161c7..2cc7cff87 100644
--- a/Jellyfin.Server/Startup.cs
+++ b/Jellyfin.Server/Startup.cs
@@ -80,7 +80,7 @@ namespace Jellyfin.Server
endpoints.MapControllers();
if (_serverConfigurationManager.Configuration.EnableMetrics)
{
- endpoints.MapMetrics();
+ endpoints.MapMetrics(_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/') + "/metrics");
}
});