fix(logging): correct string template for server URL
Replaced incorrect curly braces in the console log statement with proper template literals to accurately display the HOST and PORT values. This ensures the tracker URL is displayed correctly in the console, improving debugging and monitoring.
This commit is contained in:
parent
36c4ee56f3
commit
f2ece65e12
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ server.on('warning', (err) => {
|
|||
});
|
||||
|
||||
server.on('listening', () => {
|
||||
console.log(`Tracker is listening on http://{HOST}:{PORT}`);
|
||||
console.log(`Tracker is listening on http://${HOST}:${PORT}`);
|
||||
});
|
||||
|
||||
server.listen(PORT);
|
Loading…
Reference in a new issue