only serve localhost
This commit is contained in:
@@ -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}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user