Update server.js
Browse files
server.js
CHANGED
|
@@ -21,6 +21,9 @@ app.get('/run', (req, res) => {
|
|
| 21 |
res.send(`${stdout}`);
|
| 22 |
});
|
| 23 |
});
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
app.listen(port, () => {
|
| 26 |
console.log(`Server running at http://localhost:${port}`);
|
|
|
|
| 21 |
res.send(`${stdout}`);
|
| 22 |
});
|
| 23 |
});
|
| 24 |
+
app.get('/', (req, res) {
|
| 25 |
+
return "nope";
|
| 26 |
+
}
|
| 27 |
|
| 28 |
app.listen(port, () => {
|
| 29 |
console.log(`Server running at http://localhost:${port}`);
|