We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9fbf7 commit 0d0e72cCopy full SHA for 0d0e72c
index.js
@@ -23,7 +23,7 @@ module.exports = {
23
var now = Date.now();
24
25
if ('LastModified' in result) {
26
- res.header('Last-Modified', lastModified.toUTCString());
+ res.setHeader('Last-Modified', lastModified.toUTCString());
27
}
28
29
if (ifModifiedSince &&
0 commit comments