Skip to content

Commit 0d0e72c

Browse files
author
Ivan Kalinin
committed
Fix setHeader
1 parent df9fbf7 commit 0d0e72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
var now = Date.now();
2424

2525
if ('LastModified' in result) {
26-
res.header('Last-Modified', lastModified.toUTCString());
26+
res.setHeader('Last-Modified', lastModified.toUTCString());
2727
}
2828

2929
if (ifModifiedSince &&

0 commit comments

Comments
 (0)