mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	feat: Update "enableLegacyRoutes" to false (#580)
Defining "enableLegacyRoutes" as "true" is less secure than setting it to "false" by default, according to the documentation in "Securing Unleash" (https://unleash.github.io/docs/securing_unleash).
This commit is contained in:
		
							parent
							
								
									2815ab0fd5
								
							
						
					
					
						commit
						e42b0c7801
					
				@ -26,7 +26,7 @@ function defaultOptions() {
 | 
				
			|||||||
        pipe: undefined,
 | 
					        pipe: undefined,
 | 
				
			||||||
        baseUriPath: process.env.BASE_URI_PATH || '',
 | 
					        baseUriPath: process.env.BASE_URI_PATH || '',
 | 
				
			||||||
        serverMetrics: true,
 | 
					        serverMetrics: true,
 | 
				
			||||||
        enableLegacyRoutes: true,
 | 
					        enableLegacyRoutes: false,
 | 
				
			||||||
        extendedPermissions: false,
 | 
					        extendedPermissions: false,
 | 
				
			||||||
        publicFolder,
 | 
					        publicFolder,
 | 
				
			||||||
        enableRequestLogger: false,
 | 
					        enableRequestLogger: false,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user