From 42826fe0064b63d1f38b428b9f2384a1a33622f7 Mon Sep 17 00:00:00 2001 From: Tim Curless Date: Wed, 19 Mar 2025 19:58:00 -0500 Subject: [PATCH] /mars endpoint --- express-helloworld/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/express-helloworld/app.js b/express-helloworld/app.js index 782ccf037..f0e6f28d5 100644 --- a/express-helloworld/app.js +++ b/express-helloworld/app.js @@ -5,6 +5,10 @@ app.get('/', function (req, res) { res.send('Hello World!\n'); }); +app.get('/mars', function (req, res) { + res.send('Hello, Mars!\n'); +}); + app.listen(8080, function () { console.log('Example app listening on port 8080!'); });