only serve localhost

This commit is contained in:
Mekan1206
2026-06-02 15:17:57 +05:00
parent fadeb084ff
commit 7c838bbb6c

View File

@@ -26,7 +26,7 @@ socketHandler(io);
startQueueWorker(io); startQueueWorker(io);
const PORT = process.env.PORT || 3000; const PORT = process.env.PORT || 3000;
server.listen(PORT, () => { server.listen(PORT, '127.0.0.1', () => {
console.log(`Server is running on http://localhost:${PORT}`); console.log(`Server is running on http://127.0.0.1:${PORT}`);
}); });