mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
parent
c88576e3e6
commit
3b0daeac3c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export async function masterMain() {
|
|||
// initialize app
|
||||
config = await init();
|
||||
|
||||
if (config.port == null) {
|
||||
if (config.port == null || Number.isNaN(config.port)) {
|
||||
bootLogger.error('The port is not configured. Please configure port.', null, true);
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue