Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
|
@@ -5,10 +5,12 @@ const port = 7860;
|
|
| 5 |
|
| 6 |
console.log(await import('express/package.json', {
|
| 7 |
with: { type: 'json' }
|
| 8 |
-
})
|
|
|
|
|
|
|
| 9 |
|
| 10 |
app.get('/', (req, res) => {
|
| 11 |
-
res.send(`Running Node.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, () => {
|