diff --git a/express-helloworld/app.js b/express-helloworld/app.js index 782ccf03..5a7e1b95 100644 --- a/express-helloworld/app.js +++ b/express-helloworld/app.js @@ -5,7 +5,10 @@ app.get('/', function (req, res) { res.send('Hello World!\n'); }); -app.listen(8080, function () { - console.log('Example app listening on port 8080!'); +app.get('/mars', function (req, res) { + res.send('Hello Mars!\n'); +}); +app.listen(30080, function () { + console.log('Example app listening on port 30080!'); });