Allow all IPv4 interfaces (for docker)

master
Raymonzut 4 years ago
parent 64148746f1
commit 1ed4ba3a4a
No known key found for this signature in database
GPG Key ID: 97CF2D8BE2C69FC7
  1. 2
      server/index.js

@ -13,7 +13,7 @@ const port = process.env.PORT || 5000
const start = async () => {
try {
await fastify.listen(port)
await fastify.listen(port, '0.0.0.0')
console.log(`Launched on port ${port} 🚀`)
} catch (err) {
fastify.log.error(err)

Loading…
Cancel
Save