mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 20:30:50 +08:00 
			
		
		
		
	Fix issue #1088 (Ocelot Administration doesn't work with .NET Core 3.x)
Fixed OcelotMiddlewareConfigurationDelegate configuration
This commit is contained in:
		@@ -27,7 +27,13 @@
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    app.UseAuthentication();
 | 
			
		||||
                    app.UseMvc();
 | 
			
		||||
                    app.UseRouting();
 | 
			
		||||
                    app.UseAuthorization();
 | 
			
		||||
                    app.UseEndpoints(endpoints =>
 | 
			
		||||
                    {
 | 
			
		||||
                        endpoints.MapDefaultControllerRoute();
 | 
			
		||||
                        endpoints.MapControllers();
 | 
			
		||||
                    });
 | 
			
		||||
                });
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user