I'm using html2canvas plugin to generate snapshot of web pages.
The problem is that everything runs ok in the localhost, however when deployed on the remote server I get the following error : Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
I've found a plugin that is supposed to work : https://github.com/niklasvh/html2canvas-proxy
The problem is that I don't know how to use it !
Similar question is asked here but remains without answer : https://github.com/niklasvh/html2canvas/issues/61