summaryrefslogtreecommitdiff
path: root/modules/todo/todo.js
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-06-20 20:59:15 +0200
committerTom Smeding <tom@tomsmeding.com>2025-06-20 20:59:15 +0200
commit19191d45908498b6ea4d9493b4c08caec57b5386 (patch)
tree4a856f28164cf339f6369ab0598cb480cdd7b22c /modules/todo/todo.js
parent745dba98b429b9c06056a444aead4b5983b03600 (diff)
Update dependenciesHEADmaster
Diffstat (limited to 'modules/todo/todo.js')
-rw-r--r--modules/todo/todo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/todo/todo.js b/modules/todo/todo.js
index b5d3417..239dc19 100644
--- a/modules/todo/todo.js
+++ b/modules/todo/todo.js
@@ -170,7 +170,7 @@ module.exports=function(app,io,_moddir){
});
});
- app.all(["/todo","/todo/*"],authMiddleware); //for all the other endpoints
+ app.all(["/todo","/todo/*rest"],authMiddleware); //for all the other endpoints
app.get("/todo",function(req,res){
var contents=fs.readFileSync(moddir+"/todo.html","utf8");