From 0dcae858838d2a4bdd2324b31e6f771de6d68294 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 19 Sep 2019 10:35:27 -0500 Subject: Add single page blog posts --- src/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server.js') diff --git a/src/server.js b/src/server.js index 9899736..4355adf 100644 --- a/src/server.js +++ b/src/server.js @@ -108,7 +108,7 @@ function setUpRoutes(models, jwtFunctions, database) { } }) server.get('/blog/:id', async (req, res, next) => { - // TODO add single page blog posts + res.sendFile(__dirname + "/html/blog-single.html"); }) server.get('/tags/:name', async (req, res, next) => { console.log("TAGS/NAME"); -- cgit v1.2.3