issue
Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js' because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I used cdn to load axios, and I ran into the problem as shown in the picture, I tried several ways on stack over flow but it still didn't work. Can someone help me with this problem? Why is it blocking my Axios from running? I have the same problem with other cdn. I am using nodejs and pug
2.1m questions
2.1m answers
60 comments
57.0k users