From daabc32a95224c1347eefdafb357d28a6ff13a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Torr=C3=A3o?= Date: Sat, 21 Feb 2026 23:28:37 -0300 Subject: [PATCH] feat: Adicionando host para tentar acessar por outros dispositivos locais --- app.cjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.cjs b/app.cjs index 8eafaff..5c7e5ae 100644 --- a/app.cjs +++ b/app.cjs @@ -16,8 +16,9 @@ app.get('/', (req, res) => { res.status(200).json({message: 'Servidor Funcionando!'}) }); -const PORT = 3000 -app.listen(PORT, ()=>{ +const PORT = 3000; +const HOST = '0.0.0.0'; +app.listen(PORT, HOST, ()=>{ console.log(`Servidor rodando em http://localhost:${PORT}`); });