mirror of
https://git.sleeping.town/mirrors/foxy-moxy
synced 2024-11-23 12:37:43 +00:00
add const
This commit is contained in:
parent
a5b32e9d53
commit
c61bbadb22
1 changed files with 1 additions and 1 deletions
2
run.js
2
run.js
|
@ -1,7 +1,7 @@
|
||||||
const cluster = require('express-cluster');
|
const cluster = require('express-cluster');
|
||||||
const app = require('./server.js');
|
const app = require('./server.js');
|
||||||
|
|
||||||
activePort = process.env.PORT || 3000;
|
const activePort = process.env.PORT || 3000;
|
||||||
|
|
||||||
cluster((worker) => {
|
cluster((worker) => {
|
||||||
app.listen(activePort, () => {
|
app.listen(activePort, () => {
|
||||||
|
|
Loading…
Reference in a new issue