Use port from variable instead of hard coding
### Changes 1. Edited error description to add port's value from variable instead of hard coding. Also removed redundant `//` between localhost and port.
This commit is contained in:
parent
4410b6bd13
commit
1af5312c5a
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export default async function startSandbox() {
|
|||
.on('error', err => {
|
||||
if (err.code === 'EADDRINUSE') {
|
||||
console.log(
|
||||
'Server already listening at localhost://5278: This is probably another LBRY app running. If not, games in the app will not work.'
|
||||
`Server already listening at localhost:${port}. This is probably another LBRY app running. If not, games in the app will not work.`
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue