如何修复 angular 2 中 firefox 的 frame-src - child-src 错误
How to fix the frame-src - child-src error from firefox in angular 2
Content Security Policy: Directive 'frame-src' has been deprecated.
Please use directive 'child-src' instead.
我们最近在 firefox 上发现了这个错误,但无法找到合适的答案...
关于Angular 2 的最佳解决方案是什么?
这与Angular无关。 FF 只是建议您的竞赛安全政策存在问题(您很可能会在 index.html
中的 meta
标签中找到该问题)。只需阅读它并按照它说的去做。但是,请注意,在 CSP Level 3 Draft 中,frame-src
已被取消。
Content Security Policy: Directive 'frame-src' has been deprecated. Please use directive 'child-src' instead.
我们最近在 firefox 上发现了这个错误,但无法找到合适的答案...
关于Angular 2 的最佳解决方案是什么?
这与Angular无关。 FF 只是建议您的竞赛安全政策存在问题(您很可能会在 index.html
中的 meta
标签中找到该问题)。只需阅读它并按照它说的去做。但是,请注意,在 CSP Level 3 Draft 中,frame-src
已被取消。