Skip to content

Commit 185b6d8

Browse files
author
priyanshu-kun
committed
fix port number
1 parent 27ee979 commit 185b6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dummy App/server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ app.get('/search', async (req, res) => {
4444
}
4545
})
4646

47-
const port = 8081
47+
const port = 8081 || process.env.PORT
4848
app.listen(port, () => {
4949
console.log(`App listening on port ${port}`)
5050
})

0 commit comments

Comments
 (0)