Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return urlExists(ovrURL).then(ovrExists => {
if (ovrExists) {
return fromUrls(this._url, [ovrURL], {cache: true, forceXHR: false});
} else {
return fromUrl(this._url, {cache: true, forceXHR: false});
}
});
} else {