mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-18 08:58:30 +00:00
Fix accidental breakage of prod detection for JS/frontend_server
This commit is contained in:
parent
b5d1bf66a5
commit
5917a94c9f
@ -69,7 +69,7 @@ export default async function(opts) {
|
|||||||
next();
|
next();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const prod = process.env.NODE_ENV !== 'production';
|
const prod = process.env.NODE_ENV === 'production';
|
||||||
|
|
||||||
const port = prod ? (process.env.PORT || 8086) : opts.port;
|
const port = prod ? (process.env.PORT || 8086) : opts.port;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user