summaryrefslogtreecommitdiff
path: root/modules/todo/todo.js
diff options
context:
space:
mode:
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");