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 ae329b9 commit 010ae19Copy full SHA for 010ae19
server/bootstrap.js
@@ -41,9 +41,7 @@ module.exports = async () => {
41
if (strapi.config.get('plugin.config-sync.importOnBootstrap')) {
42
if (strapi.server.app.env === 'development') {
43
strapi.log.warn(logMessage(`You can't use the 'importOnBootstrap' setting in the development env.`));
44
- return;
45
- }
46
- if (fs.existsSync(strapi.config.get('plugin.config-sync.syncDir'))) {
+ } else if (fs.existsSync(strapi.config.get('plugin.config-sync.syncDir'))) {
47
await strapi.plugin('config-sync').service('main').importAllConfig();
48
}
49
0 commit comments