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!
|
// Run the server!
|
||||||
const start = async () => {
|
const start = async () => {
|
||||||
try {
|
try {
|
||||||
await fastify.listen(3001)
|
await fastify.listen(3000, '0.0.0.0')
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
fastify.log.error(err)
|
fastify.log.error(err)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
start()
|
start()
|
||||||
|
Reference in New Issue
Block a user