Open p-Jimenez opened 1 year ago
Describe the bug When accessing a resource via blob protocol, capacitor-electron gets ignored on the CSP.
To Reproduce Steps to reproduce the behavior:
Expected behavior No CSP errors since it's comming from the same application's schema
Screenshots
Desktop (please complete the following information):
Additional context Ionic Capacitor app with React. Trying to import https://www.npmjs.com/package/react-media-recorder
I think you need to explicitly enable "blob:" protocol in 'Content-Security-Policy' string in setup.ts
Describe the bug When accessing a resource via blob protocol, capacitor-electron gets ignored on the CSP.
To Reproduce Steps to reproduce the behavior:
Expected behavior No CSP errors since it's comming from the same application's schema
Screenshots
Desktop (please complete the following information):
Additional context Ionic Capacitor app with React. Trying to import https://www.npmjs.com/package/react-media-recorder