From 1ed4ba3a4a2d8bcf725920f38755a3d5d56ada48 Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Thu, 14 May 2020 20:16:26 +0200 Subject: [PATCH] Allow all IPv4 interfaces (for docker) --- server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/index.js b/server/index.js index 528c95e..8998c9d 100644 --- a/server/index.js +++ b/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)