mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 15:53:08 +02:00
fix: listen on 0.0.0.0
This commit is contained in:
parent
63f5ea61f7
commit
9e4f532ae8
@ -177,7 +177,10 @@ module.exports = async client => {
|
||||
});
|
||||
|
||||
// start the fastify server
|
||||
fastify.listen({ port: process.env.HTTP_BIND }, (err, addr) => {
|
||||
fastify.listen({
|
||||
host: '0.0.0.0',
|
||||
port: process.env.HTTP_BIND,
|
||||
}, (err, addr) => {
|
||||
if (err) client.log.error.http(err);
|
||||
else client.log.success.http(`Listening at ${addr}`);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user