Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Express middleware to set the Expect-CT header

License

NotificationsYou must be signed in to change notification settings

helmetjs/expect-ct

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

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp