From 1228a022218c670ce7ade086335c29bfd52b44f6 Mon Sep 17 00:00:00 2001 From: NationsGlory Deploy Date: Thu, 5 Feb 2026 01:26:28 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=C3=A9couter=20sur=200.0.0.0=20au=20lieu?= =?UTF-8?q?=20de=20localhost=20pour=20acc=C3=A8s=20distant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/server.js b/backend/src/server.js index 7e2090b..ab0d5d4 100644 --- a/backend/src/server.js +++ b/backend/src/server.js @@ -95,8 +95,8 @@ app.use((err, req, res, next) => { res.status(err.status || 500).json({ error: 'Erreur serveur interne', details: err.message }); }); -app.listen(PORT, () => { - console.log(`Backend Admin NationsGlory démarré sur http://localhost:${PORT}`); +app.listen(PORT, '0.0.0.0', () => { + console.log(`Backend Admin NationsGlory démarré sur http://0.0.0.0:${PORT}`); console.log(`Répertoire du serveur: ${SERVER_DIR}`); });