mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 14:10:50 +08:00 
			
		
		
		
	* #464 added code to request mapper to not automatically add content type and content length headers, .net will automatically try and add these headers in a few circumstances but this solves the 464 issue * #464 use seek instead of read on body check for websockets tests * #464 ran out of inodes on linux, looks like reloadonchange causes this
This commit is contained in:
		@@ -26,7 +26,7 @@
 | 
			
		||||
                        .SetBasePath(hostingContext.HostingEnvironment.ContentRootPath)
 | 
			
		||||
                        .AddJsonFile("appsettings.json", true, true)
 | 
			
		||||
                        .AddJsonFile($"appsettings.{hostingContext.HostingEnvironment.EnvironmentName}.json", true, true)
 | 
			
		||||
                        .AddJsonFile("ocelot.json")
 | 
			
		||||
                        .AddJsonFile("ocelot.json", false, false)
 | 
			
		||||
                        .AddEnvironmentVariables();
 | 
			
		||||
                })
 | 
			
		||||
                .ConfigureServices(s => {
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@
 | 
			
		||||
        "DownstreamHostAndPorts": [
 | 
			
		||||
          {
 | 
			
		||||
            "Host": "localhost",
 | 
			
		||||
            "Port": 3000
 | 
			
		||||
            "Port": 5001
 | 
			
		||||
          }
 | 
			
		||||
        ],
 | 
			
		||||
        "QoSOptions": {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user