mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
Metrics endpoint now respects baseurl
This commit is contained in:
parent
68c7a914c3
commit
997b71bbef
@ -80,7 +80,7 @@ namespace Jellyfin.Server
|
||||
endpoints.MapControllers();
|
||||
if (_serverConfigurationManager.Configuration.EnableMetrics)
|
||||
{
|
||||
endpoints.MapMetrics();
|
||||
endpoints.MapMetrics(_serverConfigurationManager.Configuration.BaseUrl.TrimStart('/') + "/metrics");
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user