diff options
author | Tom Smeding <tom@tomsmeding.com> | 2025-06-20 20:59:15 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2025-06-20 20:59:15 +0200 |
commit | 19191d45908498b6ea4d9493b4c08caec57b5386 (patch) | |
tree | 4a856f28164cf339f6369ab0598cb480cdd7b22c /modules/todo/todo.js | |
parent | 745dba98b429b9c06056a444aead4b5983b03600 (diff) |
Diffstat (limited to 'modules/todo/todo.js')
-rw-r--r-- | modules/todo/todo.js | 2 |
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"); |