Spaces:
Sleeping
Sleeping
Update index.js
Browse files
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 |
|