Fix accidental breakage of prod detection for JS/frontend_server

This commit is contained in:
Mustafa Gezen 2022-07-20 15:49:25 +02:00
parent b5d1bf66a5
commit 5917a94c9f
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ export default async function(opts) {
next();
}
});
const prod = process.env.NODE_ENV !== 'production';
const prod = process.env.NODE_ENV === 'production';
const port = prod ? (process.env.PORT || 8086) : opts.port;