Comparing version 0.1.0 to 0.1.1
@@ -25,3 +25,3 @@ module.exports = function expectCt (options) { | ||
return directives.join('; ') | ||
return directives.join(', ') | ||
} | ||
@@ -28,0 +28,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Middleware to set the Expect-CT header", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "MIT", | ||
@@ -25,4 +25,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"mocha": "^3.2.0", | ||
"standard": "^9.0.2" | ||
"mocha": "^4.1.0", | ||
"standard": "^11.0.1" | ||
}, | ||
@@ -29,0 +29,0 @@ "standard": { |
@@ -8,3 +8,3 @@ Expect-CT | ||
The `Expect-CT` HTTP header tells browsers to expect Certificate Transparency. For more, see [this blog post](https://scotthelme.co.uk/a-new-security-header-expect-ct/) and the [in-progress spec](https://datatracker.ietf.org/doc/draft-stark-expect-ct). | ||
The `Expect-CT` HTTP header tells browsers to expect Certificate Transparency. For more, see [this blog post](https://scotthelme.co.uk/a-new-security-header-expect-ct/) and the [article on MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT). | ||
@@ -19,3 +19,3 @@ Usage: | ||
// Sets Expect-CT: enforce; max-age=123 | ||
// Sets Expect-CT: enforce, max-age=123 | ||
app.use(expectCt({ | ||
@@ -26,3 +26,3 @@ enforce: true, | ||
// Sets Expect-CT: enforce; max-age=30; report-uri="http://example.com/report" | ||
// Sets Expect-CT: enforce, max-age=30, report-uri="http://example.com/report" | ||
app.use(expectCt({ | ||
@@ -29,0 +29,0 @@ enforce: true, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3552
4