summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-08-07 16:23:56 +0200
committerTom Smeding <tom@tomsmeding.com>2021-08-07 16:23:56 +0200
commitb1955e8124e146fae1940226634bb09dd80d0935 (patch)
tree4b5627fb3e7ed03d2084b42bfdc992a11a2402af /modules
parenta637f6bb5a28e0d952849d474fd5e0285d33937e (diff)
subd-krokodil: Remove useless router.use()
Diffstat (limited to 'modules')
-rw-r--r--modules/subd-krokodil/subd-krokodil.js4
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");
});