diff --git a/server.js b/server.js index 50205a2b8dd202733efae48f9e8f720b297bc17e..4f2863e5413fc354cfd12a363b8c3a37638243ca 100644 --- a/server.js +++ b/server.js @@ -40,10 +40,13 @@ server.listen(port, () => { const host = server.address().address const port = server.address().port + console.log("Started server on %s, port: %s", host, port) + + let path = options.path || "/" + console.log( - "Started PeerServer on %s, port: %s, path: %s", - host, - port, - options.path || "/", + "Static file server: %s\nAPI Server: %s", + `http://${host}:${port}/`, + `http://${host}:${port}${path}`, ) })