Listen on all IP addresses
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c36b4a5ba5
commit
c2e3dc8d0e
@ -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()
|
||||
|
Reference in New Issue
Block a user