merge: make the listen address configurable - fixes #927 (!892)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/892

Closes #927

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
Marie 2025-02-10 16:19:05 +00:00
commit c1d609bf00
4 changed files with 10 additions and 3 deletions

View file

@ -262,7 +262,7 @@ export class ServerService implements OnApplicationShutdown {
}
});
} else {
fastify.listen({ port: this.config.port, host: '0.0.0.0' });
fastify.listen({ port: this.config.port, host: this.config.address });
}
await fastify.ready();