I am trying to import sweetalert.js in a JS file using -
document.write("");
But it is returning the below error -
Refused to load the script 'https://unpkg.com/sweetalert/dist/sweetalert.min.js' because it violates the following Content Security Policy directive: "script-src 'self' https://*.oracle.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback
I am trying to import sweetalert.js in a JS file using - document.write(""); But it is returning the below error - Refused to load the script 'https://unpkg.com/sweetalert/dist/sweetalert.min.js' because it violates the following Content Security Policy directive: "script-src 'self' https://*.oracle.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback