Update ServerService.ts

This commit is contained in:
syuilo 2022-12-08 07:46:11 +09:00 committed by GitHub
parent 54ccacff97
commit 8b4ba370f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,6 +150,6 @@ export class ServerService {
} }
}); });
fastify.listen({ port: this.config.port }); fastify.listen({ port: this.config.port, host: this.config.host ?? 'localhost' });
} }
} }