Just developing the house configurator.
I have for the house project 2 domains. One for the English content, one for the German content.
One function is to create a PDF with the configured house.
<script src="../pic/jspdf.umd.js></script>
Now from my own computer, this statement causes a CORS error
doc.addImage("https://german.house/pic/some-picture.png", "PNG", 15, 220, 60, 18);
I assume the same, when the javascript is used on "German.haus" and wants to access "English.house".
There will be many pictures in the configurator, so how to do it, to have all the pictures only at one of the 2 domains?