diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-06-18 22:19:00 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-06-18 22:19:00 +0200 |
commit | 9c42abbfdd5411c2d76ae2345976e9cd1834518a (patch) | |
tree | 34b7c30dcfd363bb3444d69e5155e9829981d4b1 | |
parent | d900a5f985dd29db094d32bc1ec8648663e00967 (diff) |
blog: Put index.html on landing page
-rw-r--r-- | modules/blog/blog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.js b/modules/blog/blog.js index b6085d9..c6a4bb6 100644 --- a/modules/blog/blog.js +++ b/modules/blog/blog.js @@ -117,7 +117,7 @@ module.exports = (app, io, _moddir) => { updateRepo(); app.get("/blog", (req, res, next) => { - req.url = "/blog/"; + req.url = "/blog/index"; next(); }); |