From 56c646cd74a0552bbcb8625f0e551d09b47ca3d2 Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Mon, 18 Feb 2019 07:53:40 -0500 Subject: [PATCH] revert d3ef035d, which didn't help with #103 --- app.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app.js b/app.js index 68b38c6..eb93a94 100755 --- a/app.js +++ b/app.js @@ -72,14 +72,6 @@ app.use(session({ saveUninitialized: false })); -app.use(function(req, res, next) { - if (req.url.match(/^.*(css|js)$/)) { - res.setHeader("Cache-Control", "no-transform"); - } - - next(); -}); - app.use(express.static(path.join(__dirname, 'public'))); process.on("unhandledRejection", (reason, p) => {