Skip to content

Commit

Permalink
fix: configurable port
Browse files Browse the repository at this point in the history
  • Loading branch information
birme committed Feb 7, 2024
1 parent 0183b59 commit 60258a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ const { HLSMonitorService } = require("./dist/index.js");
// initialize a new instance of HLSMonitorService
const hlsMonitorService = new HLSMonitorService();
// register the routes
hlsMonitorService.listen(3000, '0.0.0.0');
hlsMonitorService.listen(process.env.PORT || 3000, '0.0.0.0');

0 comments on commit 60258a9

Please sign in to comment.