tomayac commited on
Commit
abfd973
·
verified ·
1 Parent(s): 61d284c

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -3,8 +3,8 @@ import express from 'express';
3
  const app = express();
4
  const port = 7860;
5
 
6
- app.get('/', (req, res) => {
7
- res.send('Hello World!');
8
  });
9
 
10
  app.listen(port, () => {
 
3
  const app = express();
4
  const port = 7860;
5
 
6
+ app.get('/', (req, res) => {
7
+ res.send(`Running Node.js ${process.version.split('.')[0]} with Express.js ${JSON.stringify(app)}`);
8
  });
9
 
10
  app.listen(port, () => {