haithhawk / mashrou_cheetah

Apache License 2.0
0 stars 0 forks source link

Full address in server.js #38

Closed finnhodgkin closed 6 years ago

finnhodgkin commented 6 years ago

If you add a HOSTNAME (the first part of your url) to the console.log it creates a nice clickable link in the terminal:

server.listen(port, () => {
  console.log(`Server is listening at ${hostname}:${port}`);
});
ghassanmas commented 6 years ago

@finnhodgkin Resolved

NickP123 commented 6 years ago

Thanks - that was helpful : 0 )

finnhodgkin commented 6 years ago

:+1: