Skip to content

Commit

Permalink
revert d3ef035, which didn't help with #103
Browse files Browse the repository at this point in the history
  • Loading branch information
janoside committed Feb 18, 2019
1 parent d3ef035 commit 56c646c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 56c646c

Please sign in to comment.