mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-31 18:02:40 +01:00
Metrics endpoint now respects baseurl
This commit is contained in:
parent
68c7a914c3
commit
997b71bbef
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ namespace Jellyfin.Server
|
|||
endpoints.MapControllers();
|
||||
if (_serverConfigurationManager.Configuration.EnableMetrics)
|
||||
{
|
||||
endpoints.MapMetrics();
|
||||
endpoints.MapMetrics(_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/') + "/metrics");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue