aboutsummaryrefslogtreecommitdiffstats
path: root/cache.js
diff options
context:
space:
mode:
Diffstat (limited to 'cache.js')
-rw-r--r--cache.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/cache.js b/cache.js
deleted file mode 100644
index 645fd610..00000000
--- a/cache.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = (req, res, next) => {
- if (req.path !== '/login') {
- res.setHeader("Cache-Control", "public, max-age=900")
- }
- return next()
-}