Answers for "refused to load the image because it violates the following content security policy directive: "default-src 'self'". note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback."

0

Refused to load the image because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

<meta http-equiv="Content-Security-Policy" content="default-src 'none'; connect-src 'self';font-src 'self'; img-src 'self' data: https:; style-src 'self' ; script-src 'self'">
 Run code snippet
Posted by: Guest on December-14-2021
0

because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

<meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src 'self' http://XX.XX.XX.XX:8084/mypp/">
Posted by: Guest on October-03-2021
0

because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback

devServer: {

        historyApiFallback: true
    }
};
Posted by: Guest on September-08-2020

Code answers related to "refused to load the image because it violates the following content security policy directive: "default-src 'self'". note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback."

Browse Popular Code Answers by Language