tomayac commited on
Commit
9fafc41
·
verified ·
1 Parent(s): 1d9ad70

Update index.js

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