Browse Source
The crossorigin settings are currently breaking image tests in Firefox and Safari when the images are not cross-domain (e.g. images specified as base64 strings, or using relative pathing). This change enables CORS on the image if and only if the image is 1) specified using absolute pathing with the HTTP or HTTPS protocol and 2) the image is from a different domain than resemble.js is being run on.pull/25/head
Shadowblazen
10 years ago
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue