Skip to content

Commit 88075bf

Browse files
committed
replaced hardcode last-modified header with dynamically generated one
1 parent 176292a commit 88075bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ app.use(cors())
2424
// Global HTTP headers
2525
app.use((req, res, next) => {
2626
res.header("Content-Type","application/json")
27+
res.header("Last-Modified",new Date().toUTCString())
2728
next()
2829
})
2930

0 commit comments

Comments
 (0)