[server/uiSettings] document enabled config

This commit is contained in:
Spencer 2016-10-19 16:52:28 -07:00 committed by GitHub
parent c2d7d0136a
commit f9bd154fcd

View file

@ -147,7 +147,11 @@ module.exports = () => Joi.object({
}).default()
}).default(),
uiSettings: Joi.object({
uiSettings: Joi.object({
// this is used to prevent the uiSettings from initializing. Since they
// require the elasticsearch plugin in order to function we need to turn
// them off when we turn off the elasticsearch plugin (like we do in the
// optimizer half of the dev server)
enabled: Joi.boolean().default(true)
}).default(),