Skip to content

Commit ee4c8bd

Browse files
committed
process.env.port
1 parent 5f44d29 commit ee4c8bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Server } from './server';
22

33
let server = new Server().app;
44

5-
let port = 5000;
5+
let port = process.env.PORT || 5000;
66

77
server.listen(port, () => {
88

0 commit comments

Comments
 (0)