Merge pull request #5293 from lukasolson/auth-config
Explicitly configure routes to not require auth when it isn't needed
This commit is contained in:
commit
fc492dd027
2 changed files with 6 additions and 3 deletions
|
@ -13,7 +13,8 @@ module.exports = (kbnServer, server, config) => {
|
|||
passThrough: true,
|
||||
xforward: true
|
||||
}
|
||||
}
|
||||
},
|
||||
config: {auth: false}
|
||||
});
|
||||
|
||||
return fromNode(cb => {
|
||||
|
|
|
@ -40,7 +40,8 @@ module.exports = function (kbnServer, server, config) {
|
|||
listing: true,
|
||||
lookupCompressed: true
|
||||
}
|
||||
}
|
||||
},
|
||||
config: {auth: false}
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -51,7 +52,8 @@ module.exports = function (kbnServer, server, config) {
|
|||
method: 'GET',
|
||||
handler: {
|
||||
file: filePath
|
||||
}
|
||||
},
|
||||
config: {auth: false}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue