one of my requirements is to use canvas to synthesize the product information and the QR code into a picture, in which the product picture is cross-domain and the nginx forward proxy is used.
the problem encountered is that Google, Firefox and Android browsers on the PC can generate pictures normally without reporting errors:
IOSsecurityErrorUCSafari:
nginx:
:
canvas.toDataURL () method behaves differently on the two terminals, which gives me a headache.
Note: I have also tried to configure CORS, for the server. The results can also be generated on PC, and the same error is reported on the mobile side.
what is the reason for this?
is there a solution?