diff options
| author | sparky8251 <sparky@possumlodge.me> | 2020-04-26 11:52:01 -0400 |
|---|---|---|
| committer | sparky8251 <sparky@possumlodge.me> | 2020-04-26 11:52:01 -0400 |
| commit | 997b71bbefa91f7a7fd9b499cb3d2ca656de466d (patch) | |
| tree | f4db5b0f1d457b954ac9c0f2a98207266b97b1d1 | |
| parent | 68c7a914c3acbd21a9ca879829bf6a670d4cf185 (diff) | |
Metrics endpoint now respects baseurl
| -rw-r--r-- | Jellyfin.Server/Startup.cs | 2 |
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"); } }); |
