diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-08-07 16:23:56 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-08-07 16:23:56 +0200 |
commit | b1955e8124e146fae1940226634bb09dd80d0935 (patch) | |
tree | 4b5627fb3e7ed03d2084b42bfdc992a11a2402af | |
parent | a637f6bb5a28e0d952849d474fd5e0285d33937e (diff) |
subd-krokodil: Remove useless router.use()
-rw-r--r-- | modules/subd-krokodil/subd-krokodil.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/subd-krokodil/subd-krokodil.js b/modules/subd-krokodil/subd-krokodil.js index b788863..3308951 100644 --- a/modules/subd-krokodil/subd-krokodil.js +++ b/modules/subd-krokodil/subd-krokodil.js @@ -5,10 +5,6 @@ var cmn=require("../$common.js"), module.exports=function(app,io,moddir){ var router=express.Router(); - router.use(function(req,res,next){ - next(); - }); - router.get("/",function(req,res){ res.sendFile(cmn.webfilesdir+"/krokodil.jpg"); }); |