scalingo server: dont listen only on localhost so that the server works
This commit is contained in:
@@ -13,7 +13,7 @@ fastify.register(fsfStatic, {
|
|||||||
})
|
})
|
||||||
|
|
||||||
try {
|
try {
|
||||||
fastify.listen({ port: process.env.PORT || 3000 })
|
fastify.listen({ port: process.env.PORT || 3000, host: "0.0.0.0" })
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
fastify.log.error(err)
|
fastify.log.error(err)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user