Skip to content

Commit bd88702

Browse files
committed
moving cache control header back to no-cache
1 parent 1a704c3 commit bd88702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ app.set('json escape', true);
2222

2323
app.use(morgan(':remote-addr :remote-user :method :url :status :res[content-length] - :response-time ms'));
2424
app.use((req, res, next) => {
25-
res.setHeader('Cache-Control', 'public, max-age=0, must-revalidate');
25+
res.setHeader('Cache-Control', 'no-cache');
2626
next();
2727
});
2828

0 commit comments

Comments
 (0)