diff options
author | Mark Powers <markppowers0@gmail.com> | 2019-09-19 10:35:27 -0500 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2019-09-19 10:35:27 -0500 |
commit | 0dcae858838d2a4bdd2324b31e6f771de6d68294 (patch) | |
tree | 23e6151aa67bc7a34e12ca625e84d8521495eb7e /src/server.js | |
parent | a73da0d736a50b7fb10f010b9ae4cc3e551c59e7 (diff) |
Add single page blog posts
Diffstat (limited to 'src/server.js')
-rw-r--r-- | src/server.js | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |