ember-cli-content-security-policy

时间:2021-04-28 00:51:03
【文件属性】:
文件名称:ember-cli-content-security-policy
文件大小:236KB
文件格式:ZIP
更新时间:2021-04-28 00:51:03
JavaScript ember-cli-内容安全政策 此插件使您可以在项目中轻松使用(CSP)。 该策略可以通过Content-Security-Policy HTTP响应标头或作为index.html文件中的元标记来传递。 如果配置为使用HTTP响应标头提供CSP,则标头将自动设置(如果与开发中的Ember CLI的快速服务器或生产中的一起使用)。 如果不使用FastBoot在生产中为应用提供服务,则必须将Web服务器配置为设置CSP标头。 可以使用提供的Ember CLI命令导出配置的CSP。 如果配置为使用meta标记交付CSP,则不需要为生产中的应用程序提供服务的Web服务器的其他配置。 无论如何,使用此插件有助于在开发Ember应用程序时将CSP保持在您思想的最前沿。 兼容性 Ember.js v2.18或更高版本 Ember CLI v3.4或更高版本 Node.js v10或更高版本 安装
【文件预览】:
ember-cli-content-security-policy-master
----.gitignore(391B)
----package.json(3KB)
----LICENSE.md(1KB)
----.watchmanconfig(37B)
----fastboot()
--------instance-initializers()
----CONTRIBUTING.md(733B)
----node-tests()
--------e2e()
--------unit()
--------utils.js(2KB)
----index.js(13KB)
----CHANGELOG.md(9KB)
----testem.js(589B)
----.github()
--------workflows()
----.eslintrc.js(2KB)
----DEPRECATIONS.md(1KB)
----.prettierrc.js(79B)
----README.md(9KB)
----vendor()
--------.gitkeep(0B)
----tests()
--------dummy()
--------integration()
--------unit()
--------helpers()
--------index.html(1KB)
--------test-helper.js(228B)
----config()
--------ember-try.js(2KB)
--------environment.js(90B)
----.eslintignore(240B)
----lib()
--------commands.js(2KB)
--------utils.js(7KB)
--------utils()
----.ember-cli(280B)
----ember-cli-build.js(495B)
----.npmignore(424B)
----.editorconfig(367B)
----yarn.lock(495KB)
----RELEASE.md(2KB)
----.prettiergnore(240B)
----.template-lintrc.js(58B)

网友评论