From a52b7b3949e5fc39611e8d5f0a8791efcc5a816e Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 3 Feb 2019 17:35:20 +0100 Subject: Move web_files to server folder --- modules/subd-krokodil/subd-krokodil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/subd-krokodil') diff --git a/modules/subd-krokodil/subd-krokodil.js b/modules/subd-krokodil/subd-krokodil.js index beabddd..b788863 100644 --- a/modules/subd-krokodil/subd-krokodil.js +++ b/modules/subd-krokodil/subd-krokodil.js @@ -10,7 +10,7 @@ module.exports=function(app,io,moddir){ }); router.get("/",function(req,res){ - res.sendFile(cmn.rootdir+"/web_files/krokodil.jpg"); + res.sendFile(cmn.webfilesdir+"/krokodil.jpg"); }); app.use(function(req,res,next){ -- cgit v1.2.3-70-g09d2