Spaces:
Building
Building
Update server.js
Browse files
server.js
CHANGED
@@ -108,6 +108,10 @@ app.post('/chat', async (req, res) => {
|
|
108 |
}
|
109 |
});
|
110 |
|
|
|
|
|
|
|
|
|
111 |
app.listen(PORT, () => {
|
112 |
console.log(`Server is running on port ${PORT}`);
|
113 |
});
|
|
|
108 |
}
|
109 |
});
|
110 |
|
111 |
+
app.get('/', async (req, res) => {
|
112 |
+
console.log(`Server is checked`);
|
113 |
+
});
|
114 |
+
|
115 |
app.listen(PORT, () => {
|
116 |
console.log(`Server is running on port ${PORT}`);
|
117 |
});
|