Listen on all IP addresses
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-01-20 15:41:04 +01:00
parent c36b4a5ba5
commit c2e3dc8d0e
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@ fastify.get('/', async (request, reply) => {
// Run the server!
const start = async () => {
try {
await fastify.listen(3001)
await fastify.listen(3000, '0.0.0.0')
} catch (err) {
fastify.log.error(err)
process.exit(1)
}
}
start()
start()