niklasvh / html2canvas

Screenshots with JavaScript
https://html2canvas.hertzen.com/
MIT License
30.63k stars 4.81k forks source link

Proxy url options is not called #3214

Open Champjiwrd opened 3 weeks ago

Champjiwrd commented 3 weeks ago

I have copy code from existing_canvas and I add proxy link that I log when get this link but its not call to this proxy url how to fix its

    document.querySelector("button").addEventListener("click", function () {
        html2canvas(document.querySelector("#content"), {
            proxy: 'http://localhost:3000',
        }).then(function (canvas) {
            console.log('Drew on the existing canvas');
        });
    }, false);