forked from FoundKeyGang/FoundKey
Fix
This commit is contained in:
parent
d49b5d6de2
commit
4985e09365
1 changed files with 2 additions and 0 deletions
|
@ -120,10 +120,12 @@ async function init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if a port is being used
|
// Check if a port is being used
|
||||||
|
/* https://github.com/stdarg/tcp-port-used/issues/3
|
||||||
if (await portUsed.check(config.port)) {
|
if (await portUsed.check(config.port)) {
|
||||||
Logger.error(`Port ${config.port} is already used`);
|
Logger.error(`Port ${config.port} is already used`);
|
||||||
return InitResult.Failure;
|
return InitResult.Failure;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Try to connect to MongoDB
|
// Try to connect to MongoDB
|
||||||
let mongoDBLogger = new Logger('MongoDB');
|
let mongoDBLogger = new Logger('MongoDB');
|
||||||
|
|
Loading…
Reference in a new issue