mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	update service stack config
This commit is contained in:
		
							parent
							
								
									6af3dc91c5
								
							
						
					
					
						commit
						1bd3b22c81
					
				@ -67,6 +67,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
 | 
				
			|||||||
        public override void Configure(Container container)
 | 
					        public override void Configure(Container container)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            HostConfig.Instance.DefaultRedirectPath = DefaultRedirectPath;
 | 
					            HostConfig.Instance.DefaultRedirectPath = DefaultRedirectPath;
 | 
				
			||||||
 | 
					            HostConfig.Instance.LogUnobservedTaskExceptions = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            HostConfig.Instance.MapExceptionToStatusCode = new Dictionary<Type, int>
 | 
					            HostConfig.Instance.MapExceptionToStatusCode = new Dictionary<Type, int>
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
@ -80,7 +81,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
 | 
				
			|||||||
                {typeof (ApplicationException), 500}
 | 
					                {typeof (ApplicationException), 500}
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            HostConfig.Instance.DebugMode = true;
 | 
					            HostConfig.Instance.DebugMode = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            HostConfig.Instance.LogFactory = LogManager.LogFactory;
 | 
					            HostConfig.Instance.LogFactory = LogManager.LogFactory;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user