Hi all,
I developing a custom plugin to embed a simple webview into kibana dashboard. The build is successful but when i startup kibana i get these errors in console:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'report-sample' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-Vf/5lhWIh6ub3ANk6a6rqRaf7x7HUixyrKDFs2axDL0='), or a nonce ('nonce-...') is required to enable inline execution.
Failed to load resource: the server responded with a status of 404 (Not Found)
home:1 Refused to execute script from 'http://localhost:5601/zxv/XXXXXXXXXXXX/bundles/plugin/wikipedia/1.0.0/wikipedia.plugin.js' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
I only ran yarn build in my plugin folder and then started kibana
Any ideas why?