diff --git a/server.js b/server.js index 2080b0a..9619bd1 100644 --- a/server.js +++ b/server.js @@ -6,6 +6,10 @@ app.get('/end1', (req, res) => { res.send('Hello world1!'); }); +app.get('/end2', (req, res) => { + res.send('Hello world2!'); +}); + app.listen(port, () => { console.log(`Server running at http://localhost:${port}`); });