diff options
-rw-r--r-- | modules/blog/blog.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/blog/blog.js b/modules/blog/blog.js index c6a4bb6..748bcde 100644 --- a/modules/blog/blog.js +++ b/modules/blog/blog.js @@ -130,6 +130,7 @@ module.exports = (app, io, _moddir) => { const path = req.path .slice(6) .replace(/\/[\/]*/g, "/") + .replace(/\/\.+/g, "/") .replace(/\.html$/, ""); const fromCache = templateCache.get(path); |