Closed steven-coding closed 3 years ago
Unfortunately, the underlying package:
has a CORS issue: https://github.com/tsayen/dom-to-image/issues/255
which makes it impossible, to export maps cross origin (between two domains) when authentication (e.g. cookie) is mandatory.
This can be fixed by switching to a more recent dom-to-image fork like: dom-to-image-more https://www.npmjs.com/package/dom-to-image-more https://github.com/1904labs/dom-to-image-more
Unfortunately, the underlying package:
has a CORS issue: https://github.com/tsayen/dom-to-image/issues/255
which makes it impossible, to export maps cross origin (between two domains) when authentication (e.g. cookie) is mandatory.
This can be fixed by switching to a more recent dom-to-image fork like: dom-to-image-more https://www.npmjs.com/package/dom-to-image-more https://github.com/1904labs/dom-to-image-more