fix: Remove cors proxy

This commit is contained in:
Rodrigo Fernandes 2020-10-16 22:07:04 +01:00
parent 275d09972f
commit 908272a00f
No known key found for this signature in database
GPG key ID: 67157D2E3D4258B4

View file

@ -106,8 +106,7 @@ function prepareRequest(url: string): Request {
} else if ((values = bitbucketPrUrl.exec(url))) { } else if ((values = bitbucketPrUrl.exec(url))) {
fetchUrl = bitbucketUrlGen(values[1], values[2], 'pullrequests', values[3]); fetchUrl = bitbucketUrlGen(values[1], values[2], 'pullrequests', values[3]);
} else { } else {
console.info('Could not parse url, using the provided url.'); fetchUrl = url;
fetchUrl = 'https://crossorigin.me/' + url;
} }
return { return {