Skip to content

Commit 9428a19

Browse files
committed
👽 Add no-cache explicitly
1 parent 0ac18f8 commit 9428a19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.js

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ app.use(bodyParser.urlencoded({ extended: false }));
3434
app.use(cookieParser());
3535

3636
app.get('/', function(req, res) {
37+
res.header('Cache-Control', 'no-cache');
3738
res.render('index', { currentTime: new Date() });
3839
});
3940

0 commit comments

Comments
 (0)