From 874093a1265247e722f1fb56aee261f986d43408 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 26 Aug 2019 18:42:20 +0200 Subject: [PATCH] push something that actually works --- server.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.js b/server.js index ad79b2178..63f5738a2 100644 --- a/server.js +++ b/server.js @@ -116,9 +116,7 @@ app.use(function (req, res, next) { res.statusCode = 204; return void res.end(); } -}); -app.use(function (req, res, next) { setHeaders(req, res); if (/[\?\&]ver=[^\/]+$/.test(req.url)) { res.setHeader("Cache-Control", "max-age=31536000"); } next();