mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 15:53:51 +09:00
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user