From 6782ebce92200eb81ee8596a662b9789ae3b3401 Mon Sep 17 00:00:00 2001 From: Ashish Bhayana Date: Sat, 17 Sep 2016 22:44:20 +0530 Subject: [PATCH] [imad-console] Updates server.js --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 65aa93037f..c67c270060 100644 --- a/server.js +++ b/server.js @@ -14,11 +14,11 @@ app.get('/article-one', function(req, res){ }); app.get('/article-two', function(req, res){ - res.send('Article Two requested and will be served here'); + res.sendFile(path.join(__dirname, 'ui', 'article-two.html')); }); app.get('/article-three', function(req, res){ - res.send('Article three requested and will be served here'); + res.sendFile(path.join(__dirname, 'ui', 'article-three.html')); }); app.get('/ui/style.css', function (req, res) {