Static GitHub Issues

[2606] How can I configure to load external resources of Content-Security-Policy(CSP)?

prev: Set chunk filenames like pages-chunks
next: pug-loader doesnt work anymore at new version

Hi.

The following changes were made in v1.1.0, but it appeared that there was no setting to allow external resources. This change seems to allow only inline-script, should I send a PR? If you have other methods, please let me know...

Add support for CSP script-src safe inline (PR #2549) via render.csp option in nuxt.config.js

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2268">#c2268</a>)</em></sub></div>