tomayac commited on
Commit
b2ef3b1
·
verified ·
1 Parent(s): d313b81

Update index.js

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