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}`); });