Commit fc437696 authored by CompileNix's avatar CompileNix

echo server addresses on server start to console

parent 0776e248
const os = require("os");
const port = 9991;
new (require("./Server.js"))(port).start();
console.log(`Server address to dump data into: http://${os.hostname}:${port}\nServer adress to receive dumped data via websockets: http://${os.hostname}:${port + 1}`);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment