Skip to content

Commit debe46e

Browse files
committed
server.ts PORT listening -> process.env.PORT || 4000
1 parent 509c4ca commit debe46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,6 @@ app.get('*', (req, res) => {
123123
});
124124
});
125125

126-
app.listen(PORT, () => {
126+
app.listen(process.env.PORT, () => {
127127
console.log(`listening on http://localhost:${PORT}!`);
128128
});

0 commit comments

Comments
 (0)