Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -96,6 +96,11 @@ app.get('/', (req, res) => {
|
|
| 96 |
res.sendFile(path.join(__dirname, 'index.html'));
|
| 97 |
});
|
| 98 |
|
| 99 |
-
app.listen(PORT, () => {
|
| 100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
});
|
|
|
|
|
|
| 96 |
res.sendFile(path.join(__dirname, 'index.html'));
|
| 97 |
});
|
| 98 |
|
| 99 |
+
// app.listen(PORT, () => {
|
| 100 |
+
// console.log(`Server running on http://localhost:${PORT}`);
|
| 101 |
+
// });
|
| 102 |
+
|
| 103 |
+
app.listen(7860, '0.0.0.0', () => {
|
| 104 |
+
console.log(`Server running on http://0.0.0.0:7860`);
|
| 105 |
});
|
| 106 |
+
|