Open ajsheldon93 opened 2 years ago
Have this same problem on mine as well, looking forward to have a solution for this
It's not resolving the nonce issue but to get around it I did the following:
InertiaProgress.init({ includeCSS: false });
@import 'nprogress/nprogress.css';
#nprogress .bar {
background: #29d;
}
box-shadow: 0 0 10px #29d, 0 0 5px #29d;
}
border-top-color: #29d;
border-left-color: #29d;
}
Getting the error:
vendor.js:653 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' https://fonts.googleapis.com 'nonce-gNubTa9xLIALXt6z6cKEdnsNwMUGMx6d'". Either the 'unsafe-inline' keyword, a hash ('sha256-UTjtaAWWTyzFjRKbltk24jHijlTbP20C1GUYaWPqg7E='), or a nonce ('nonce-...') is required to enable inline execution.
This is caused by the inline styles injected from this plugin.
Can support for a nonce be added?
unsafe-inline
is not allowed in my application.