没有合适的资源?快使用搜索试试~ 我知道了~
express-csp-header:Express的内容安全策略中间件
共13个文件
ts:4个
json:3个
js:1个
需积分: 9 0 下载量 74 浏览量
2021-03-20
16:40:52
上传
评论
收藏 100KB ZIP 举报
温馨提示
Express的内容安全策略中间件 用法 const { expressCspHeader , INLINE , NONE , SELF } = require ( 'express-csp-header' ) ; app . use ( expressCspHeader ( { directives : { 'default-src' : [ SELF ] , 'script-src' : [ SELF , INLINE , 'somehost.com' ] , 'style-src' : [ SELF , 'mystyles.net' ] , 'img-src' : [ 'data:' , 'images.com' ] , 'worker-src' : [ NONE ] , 'blo
资源推荐
资源详情
资源评论
收起资源包目录
express-csp-header-master.zip (13个子文件)
express-csp-header-master
package.json 962B
@types
express-csp-header
index.d.ts 82B
.github
workflows
codechecks.yml 234B
jest.config.js 96B
tests
index.test.ts 3KB
package-lock.json 453KB
src
constants.ts 516B
index.ts 3KB
.npmignore 63B
tsconfig.json 389B
.gitignore 57B
README.md 5KB
.editorconfig 302B
共 13 条
- 1
资源评论
合众丰城
- 粉丝: 21
- 资源: 4651
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功