1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +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:
Jessica Schalz 2020-04-13 15:43:14 -05:00 committed by GitHub
parent 2815ab0fd5
commit e42b0c7801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ function defaultOptions() {
pipe: undefined,
baseUriPath: process.env.BASE_URI_PATH || '',
serverMetrics: true,
enableLegacyRoutes: true,
enableLegacyRoutes: false,
extendedPermissions: false,
publicFolder,
enableRequestLogger: false,