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