fix(settings-manager): autoReload payload

This commit is contained in:
Luca 2018-08-08 00:24:39 +02:00 committed by GitHub
parent a1ca701053
commit 942cfece7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,8 +334,8 @@ module.exports = {
autoReload: async ctx => { autoReload: async ctx => {
ctx.send({ ctx.send({
autoReload: _.get(strapi.config.environments, 'development.server.autoReload', false), autoReload: _.get(strapi.config.currentEnvironment, 'server.autoReload', { enabled: false }),
environment: strapi.config.environment, environment: strapi.config.environment
}); });
} }
}; };