Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsafe-eval in content security policy #71

Open
raviwbc opened this issue Jul 30, 2024 · 1 comment
Open

unsafe-eval in content security policy #71

raviwbc opened this issue Jul 30, 2024 · 1 comment

Comments

@raviwbc
Copy link

raviwbc commented Jul 30, 2024

In my application I use this plugin for QR scanning process. In content security policy I use script-src 'unsafe-eval' then only this plugin work. otherwise its not working. Client said need to remove that. Any solution for this issue!

@jssmotta
Copy link

jssmotta commented Jan 7, 2025

Try to host in a secure website and load from ngOnInit LOAD_WASM('[YOUR_WEB_SITE]/assets/wasm/ngx-scanner-qrcode.wasm').subscribe();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants