Listen on all IP addresses
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-01-20 15:41:04 +01:00
parent c36b4a5ba5
commit c2e3dc8d0e

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()