diff --git a/server.js b/server.js index 2e386d0b041..a4e9f0214fe 100644 --- a/server.js +++ b/server.js @@ -8,6 +8,15 @@ app.use(morgan('combined')); app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); +app.get('/article-one',function(req,res){ + res.sendFile(path.join(__dirname, 'ui', 'article-one.html')); +}); +app.get('/article-two',function(req,res){ + res.send('article two is served '); +}); +app.get('/article-three',function(req,res){ + res.send('article three is served '); +}); app.get('/ui/style.css', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'style.css')); diff --git a/ui/article-one.html b/ui/article-one.html new file mode 100644 index 00000000000..298093e9929 --- /dev/null +++ b/ui/article-one.html @@ -0,0 +1,43 @@ + +
++ this is the content +
++ this is the content +
++ this is the content +
++ this is the content +
+