We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6821110 commit 769e2c3Copy full SHA for 769e2c3
server/bootstrap.js
@@ -50,7 +50,7 @@ module.exports = async () => {
50
if (strapi.config.get('plugin.config-sync.importOnBootstrap')) {
51
if (strapi.server.app.env === 'development') {
52
strapi.log.warn(logMessage(`You can't use the 'importOnBootstrap' setting in the development env.`));
53
- } else if (process.env.CONFIG_SYNC_CLI === true) {
+ } else if (process.env.CONFIG_SYNC_CLI === 'true') {
54
strapi.log.warn(logMessage(`The 'importOnBootstrap' setting was ignored because Strapi was started from the config-sync CLI itself.`));
55
} else if (fs.existsSync(strapi.config.get('plugin.config-sync.syncDir'))) {
56
await strapi.plugin('config-sync').service('main').importAllConfig();
0 commit comments