report-to:用于设置Report-To HTTP响应标头的中间件

时间:2021-02-16 00:58:28
【文件属性】:
文件名称:report-to:用于设置Report-To HTTP响应标头的中间件
文件大小:52KB
文件格式:ZIP
更新时间:2021-02-16 00:58:28
middleware express hacktoberfest report-to reportto 报告给 这是Express中间件,用于设置Report-To HTTP响应标头。 您可以和阅读更多有关它的。 使用方法: const reportTo = require ( 'report-to' ) // ... app . use ( reportTo ( { groups : [ { group : "endpoint-1" , max_age : 10_886_400 , include_subdomains : true , endpoints : [ { url : "https://example.com/reports" , priority : 1 } , { url : "https://back
【文件预览】:
report-to-master
----.gitignore(914B)
----tsconfig.json(366B)
----README.md(2KB)
----CHANGELOG.md(423B)
----.github()
--------workflows()
--------dependabot.yml(275B)
--------FUNDING.yml(42B)
----test()
--------index.js(7KB)
--------index.ts(8KB)
----LICENSE(1KB)
----package.json(1KB)
----index.js(318B)
----types()
--------index.d.ts(1016B)
----.eslintignore(8B)
----.editorconfig(156B)
----lib()
--------validate.js(2KB)
----.eslintrc.json(145B)
----package-lock.json(139KB)

网友评论