tomayac commited on
Commit
b52b065
·
verified ·
1 Parent(s): 010d387

Update index.js

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