Skip to content

Commit 68dd96f

Browse files
Port Updated
1 parent ea1521f commit 68dd96f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import app from "./app";
2+
import config from "./config/config";
23

3-
const PORT: number = 4000;
4+
const PORT: number = parseInt(config.PORT) || 4000;
45
const HOST = "0.0.0.0";
56

67
app.listen(PORT, HOST, () => {

0 commit comments

Comments
 (0)