diff --git a/js/creator.js b/js/creator.js index f33629ea..cffbcf36 100644 --- a/js/creator.js +++ b/js/creator.js @@ -1174,7 +1174,12 @@ function loadTutorialVideo() { } //Various loaders function imageURL(url, destination, otherParams) { - destination('https://cors-anywhere.herokuapp.com/' + url, otherParams); + var imageurl = url; + if (params.get('noproxy') != '') { + imageurl = 'https://cors-anywhere.herokuapp.com/' + url; + } + console.log(imageurl) + destination(imageurl, otherParams); } async function imageLocal(event, destination, otherParams) { var reader = new FileReader();