Skip to content

Commit be9b62f

Browse files
committed
customizable app port
1 parent 4fe1795 commit be9b62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ app.get('/metrics', async (_req, res) => {
1616
}
1717
});
1818

19-
app.listen(4001, '0.0.0.0');
19+
app.listen(process.env.APP_PORT || 4001, '0.0.0.0');

0 commit comments

Comments
 (0)