In PWA app, where or how to change: <meta http-equiv="Content-Security-Policy" #17444
Unanswered
conx13
asked this question in
CLI - PWA mode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use with quasar pwa and vue-qrcode-reader. After testing the build I get an error:
Refused to connect to 'https://fastly.jsdelivr.net/npm/[email protected]/dist/reader/zxing_reader.wasm' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
How/where change meta tag -
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'self' https://fastly.jsdelivr.net/; ">
Or how to solve it?Beta Was this translation helpful? Give feedback.
All reactions