tomayac commited on
Commit
7440eb4
·
verified ·
1 Parent(s): a3a1806

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -3,9 +3,9 @@ import express from 'express';
3
  const app = express();
4
  const port = 7860;
5
 
6
- const expressVersion = await import('express/package.json', {
7
  with: { type: 'json' }
8
- }).default.version;
9
 
10
  const nodeVersion = process.version.split('.')[0];
11
 
 
3
  const app = express();
4
  const port = 7860;
5
 
6
+ const expressVersion = (await import('express/package.json', {
7
  with: { type: 'json' }
8
+ })).default.version;
9
 
10
  const nodeVersion = process.version.split('.')[0];
11