Content security policy
Right now using my security policy of using script-src 'self I'm getting a refusal to run html2pdf. By adding script src 'self' 'unsafe-eval' then it works just fine. That isn't an option for me though..
I've had a look through html2canvas and jspdf and can't find a reference to eval, so I'm thinking it might be something deeper down the chain.
Can you advise on this?
Right now using my security policy of using script-src 'self I'm getting a refusal to run html2pdf. By adding script src 'self' 'unsafe-eval' then it works just fine. That isn't an option for me though..
I've had a look through html2canvas and jspdf and can't find a reference to eval, so I'm thinking it might be something deeper down the chain.
Can you advise on this?
Hi did you find anything to solve this or is there any other alternative for the library?