force exposed prod port to 5000
This commit is contained in:
parent
ad5f624d5d
commit
8ba12b752c
2 changed files with 6 additions and 5 deletions
|
@ -23,7 +23,7 @@ const app = express();
|
|||
import router from "./routes/index";
|
||||
router(app);
|
||||
app.listen(process.env.NODE_ENV ? SERVER_PORT : 5000, () => {
|
||||
console.log(`listening on *:${SERVER_PORT}`);
|
||||
console.log(`listening on *:${process.env.NODE_ENV ? SERVER_PORT : 5000}`);
|
||||
});
|
||||
|
||||
import schedule from "node-schedule";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue