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:
Spencer 2015-11-04 10:59:42 -06:00
commit fc492dd027
2 changed files with 6 additions and 3 deletions

View file

@ -13,7 +13,8 @@ module.exports = (kbnServer, server, config) => {
passThrough: true,
xforward: true
}
}
},
config: {auth: false}
});
return fromNode(cb => {

View file

@ -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}
});
});