diff options
-rw-r--r-- | modules/zelfoverhoor/zelfoverhoor.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/zelfoverhoor/zelfoverhoor.js b/modules/zelfoverhoor/zelfoverhoor.js index 766bffd..8663b2c 100644 --- a/modules/zelfoverhoor/zelfoverhoor.js +++ b/modules/zelfoverhoor/zelfoverhoor.js @@ -97,6 +97,13 @@ module.exports=function(app,io,_moddir){ persistDB(); } + app.all("/zelfoverhoor*",function(req,res,next){ + res.header("Cache-Control","private, no-cache, no-store, must-revalidate"); + res.header("Expires","-1"); + res.header("Pragma","no-cache"); + next(); + }); + app.get("/zelfoverhoor",function(req,res){ res.sendFile(moddir+"/index.html"); }); |