Test
This commit is contained in:
parent
e80a21daf5
commit
6ef221c684
4
dist/start.js
vendored
4
dist/start.js
vendored
@ -9,6 +9,10 @@ app.get('/', (req, res) => {
|
|||||||
res.send('Hello World from Express!');
|
res.send('Hello World from Express!');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get('/*', (req, res) => {
|
||||||
|
res.send('Hello World from '+req.originalUrl+'!');
|
||||||
|
});
|
||||||
|
|
||||||
// Start the server
|
// Start the server
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
console.log(`Server listening on port ${port}`);
|
console.log(`Server listening on port ${port}`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user