commit 8714bff84f6aa76ad05c999b07746d22068c2ae4
parent 7d407966d6727c2d0e38a3d454ec9315242d08b5
Author: nxuv <nxuv@disr.it>
Date: Sun, 11 Jan 2026 14:23:59 +0300
Update to express 5
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
@@ -19,7 +19,7 @@ function startsWithAny(path, arr) {
return false;
}
-app.all("*", (req, res) => {
+app.all("*splat", (req, res) => {
// let mdpath = path.join(__dirname, "public", req.baseUrl + req.path + ".md");
// console.log(mdpath);