Update server.js
Browse files
server.js
CHANGED
|
@@ -109,7 +109,8 @@ app.post('/chat', async (req, res) => {
|
|
| 109 |
});
|
| 110 |
|
| 111 |
app.get('/', async (req, res) => {
|
| 112 |
-
|
|
|
|
| 113 |
});
|
| 114 |
|
| 115 |
app.listen(PORT, () => {
|
|
|
|
| 109 |
});
|
| 110 |
|
| 111 |
app.get('/', async (req, res) => {
|
| 112 |
+
console.log(`Server is checked`);
|
| 113 |
+
res.json(`Server is work`);
|
| 114 |
});
|
| 115 |
|
| 116 |
app.listen(PORT, () => {
|