aboutsummaryrefslogtreecommitdiff
path: root/src/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.js')
-rw-r--r--src/server.js2
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");