From b1955e8124e146fae1940226634bb09dd80d0935 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 7 Aug 2021 16:23:56 +0200 Subject: subd-krokodil: Remove useless router.use() --- modules/subd-krokodil/subd-krokodil.js | 4 ---- 1 file changed, 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"); }); -- cgit v1.2.3-70-g09d2