Skip to content

Commit cce97ce

Browse files
committed
Using a variable instead of hard coding
1 parent 15ecb0a commit cce97ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

back-end/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ cron.schedule('0 0 * * *', async () => {
141141

142142
app.use("/", general_routes);
143143

144-
app.listen(port, () => {
144+
app.listen(backEndPort, () => {
145145
console.log(`Web server listening at http://${backEndHost}:${backEndPort}`);
146146
});
147147

0 commit comments

Comments
 (0)