How to make Html2Canvas work with external images?

I’ve been trying to use Html2Canvas to export some book images, but I’m getting the following error:

Access to image at 'https://books.google.com/books/content?id=1JkccukKkQcC&printsec=frontcover&img=1&zoom=1&source=gbs_api'
from origin 'http://localhost:8080' has been blocked by CORS policy:
No 'Access-Control-Allow-Origin' header is present on the requested resource.

I get such an error for every image. Here’s a mock of what I’m doing:

download () {
  window.html2canvas(this.$refs['capture'], {
    allowTaint: true,
    proxy: "https://books.google.com/",
    useCORS: true,
  })
    .then(canvas => document.body.appendChild(canvas))
    .catch(err => console.error("Error:", err));
}

I also made a JSFidle with everything working (except the image of course).

https://jsfiddle.net/arnonrdp/bkfa8opt/17/

I also read in the documentation that to make it work it would be necessary to implement html2canvas-proxy-nodejs, but I have no idea how to do that in Vue.

Has anyone gone through this problem?