Closed serdec closed 1 year ago
Hi @serdec
first things first, angularx-qrcode does NOT download or fetch any additional code.
Could you provide me with some addtional data, like your angular version and a strapped-down version of your working code in a repo so I can investigate?
thanks!
hi @Cordobo, thanks for your quick reply.
This happens because i have restricted content security policies on my web application like the following
`connect-src 'self' 'unsafe-inline' *.website1.com *.website2.com ... ; ` +
these are the errors i get in the console
my code looks like
<div *ngIf="qrCode">
<qrcode [qrdata]="otpauth://totp/testaccount?secret=${secretCode}" [width]="240" [errorCorrectionLevel]="'M'"></qrcode>
</div>
my angular version is 14.2.3
and the angularx-qrcode is 14.0.0
Hello @serdec
unfortunately I do not have the time to work on this right now because of my "day job", but I would be more than happy to review and merge a PR.
Feel free to open one with your changes against the development branch.
Thanks
Description
when displaying the qrcode i got an error in the console like the following:
I presume that this is due to some fetching for the download of the code, would it be possible to add a parameter to skip this?