Spaces:
Paused
Paused
Update server.js
Browse files
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(`
|
| 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 |
});
|