strict-transport-security
Advanced tools
Comparing version
@@ -40,2 +40,6 @@ /** | ||
if (options['preload']) { | ||
compiled += '; preload'; | ||
} | ||
return (req, res, next) => { | ||
@@ -42,0 +46,0 @@ res.setHeader('Strict-Transport-Security', compiled); |
{ | ||
"name": "strict-transport-security", | ||
"description": "Middleware to add Strict-Transport-Security header.", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Samuel Erdtman", |
43
7.5%6059
-40.86%6
-40%