mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Merge branch 'master' into dependabot/npm_and_yarn/glob-7.2.0
This commit is contained in:
commit
7089fcfe85
@ -22,7 +22,7 @@ module.exports = async function({ build, watchAdmin, polling, browser }) {
|
||||
const logger = createLogger(config.logger, {});
|
||||
|
||||
try {
|
||||
if (cluster.isMaster) {
|
||||
if (cluster.isMaster || cluster.isPrimary) {
|
||||
const serveAdminPanel = getOr(true, 'admin.serveAdminPanel')(config);
|
||||
|
||||
const buildExists = fs.existsSync(path.join(dir, 'build'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user