- Notifications
You must be signed in to change notification settings - Fork1
Express middleware to set the Expect-CT header
License
NotificationsYou must be signed in to change notification settings
helmetjs/expect-ct
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TheExpect-CT
HTTP header tells browsers to expect Certificate Transparency. For more, seethis blog post and thearticle on MDN.
Usage:
constexpectCt=require("expect-ct");// Sets Expect-CT: max-age=123app.use(expectCt({maxAge:123}));// Sets Expect-CT: enforce, max-age=123app.use(expectCt({enforce:true,maxAge:123,}));// Sets Expect-CT: enforce, max-age=30, report-uri="https://example.com/report"app.use(expectCt({enforce:true,maxAge:30,reportUri:"https://example.com/report",}));
About
Express middleware to set the Expect-CT header
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.