Fix path reference
This commit is contained in:
parent
e89da8000e
commit
3c96df6af0
@ -85,12 +85,14 @@ if (opts.sslkey || opts.sslcert) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var userPath = opts.path;
|
||||
var server = PeerServer(opts, function(server) {
|
||||
var host = server.address().address;
|
||||
var port = server.address().port;
|
||||
|
||||
console.log(
|
||||
'Started PeerServer on %s, port: %s, path: %s (v. %s)',
|
||||
host, port, opts.path || '/', version
|
||||
host, port, userPath || '/', version
|
||||
);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user