1. 首页
  2. 数据库
  3. 其它
  4. report to:用于设置Report To HTTP响应标头的中间件 源码

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

上传者: 2021-02-28 07:10:18上传 ZIP文件 52.27KB 热度 13次
报告给 这是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
下载地址
用户评论