summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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 c748b01..ad954f9 100644
--- a/modules/todo/todo.js
+++ b/modules/todo/todo.js
@@ -35,7 +35,7 @@ var tasks=persist.getItemSync("tasks");
module.exports=function(app,io,_moddir){
moddir=_moddir;
- app.all(["/todo","/todo/*"],cmn.authgen());
+ app.all("/todo/task",cmn.authgen());
app.get("/todo",function(req,res){
res.sendFile(moddir+"/todo.html");
});