Rooni commited on
Commit
ea91e7a
·
verified ·
1 Parent(s): 1e14015

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +2 -1
server.js CHANGED
@@ -109,7 +109,8 @@ app.post('/chat', async (req, res) => {
109
  });
110
 
111
  app.get('/', async (req, res) => {
112
- console.log(`Server is checked`);
 
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, () => {