Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
|
@@ -3,8 +3,8 @@ import express from 'express';
|
|
| 3 |
const app = express();
|
| 4 |
const port = 7860;
|
| 5 |
|
| 6 |
-
app.get('/', (req, res) => {
|
| 7 |
-
res.send(
|
| 8 |
});
|
| 9 |
|
| 10 |
app.listen(port, () => {
|
|
|
|
| 3 |
const app = express();
|
| 4 |
const port = 7860;
|
| 5 |
|
| 6 |
+
app.get('/', (req, res) => {
|
| 7 |
+
res.send(`Running Node.js ${process.version.split('.')[0]} with Express.js ${JSON.stringify(app)}`);
|
| 8 |
});
|
| 9 |
|
| 10 |
app.listen(port, () => {
|