ADITYA025 commited on
Commit
c3ab45e
·
verified ·
1 Parent(s): 320312d

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +2 -2
server.js CHANGED
@@ -175,7 +175,7 @@ app.get('*', (req, res) => {
175
  res.sendFile(path.join(__dirname, 'dist', 'index.html'));
176
  });
177
 
178
- app.listen(PORT, () => {
179
  console.log(`Server running on port ${PORT}`);
180
- console.log(`Open your browser and go to http://localhost:${PORT}`);
181
  });
 
175
  res.sendFile(path.join(__dirname, 'dist', 'index.html'));
176
  });
177
 
178
+ app.listen(PORT, '0.0.0.0', () => {
179
  console.log(`Server running on port ${PORT}`);
180
+ console.log(`Server accessible at http://0.0.0.0:${PORT}`);
181
  });