Skip to content

Commit 17770cb

Browse files
Merge branch 'master' into update-dependency
2 parents 54eab2b + c244b92 commit 17770cb

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

dist/cep-promise-browser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function throwApplicationError$1(error) {
304304
throw serviceError;
305305
}
306306

307-
var PROXY_URL = 'https://proxier.now.sh/';
307+
var PROXY_URL = 'https://proxier.now.sh/api?url=';
308308

309309
/* istanbul ignore next */
310310
function isBrowser() {
@@ -319,7 +319,7 @@ function injectProxy(Service) {
319319
}
320320

321321
var CorreiosService = isBrowser() ? injectProxy(fetchCorreiosService) : fetchCorreiosService;
322-
var ViaCepService = isBrowser() ? injectProxy(fetchViaCepService) : fetchViaCepService;
322+
var ViaCepService = fetchViaCepService;
323323

324324
var reverse = function reverse(promise) {
325325
return new Promise(function (resolve, reject) {

dist/cep-promise-browser.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cep-promise.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function throwApplicationError$1(error) {
229229
throw serviceError;
230230
}
231231

232-
var PROXY_URL = 'https://proxier.now.sh/';
232+
var PROXY_URL = 'https://proxier.now.sh/api?url=';
233233

234234
/* istanbul ignore next */
235235
function isBrowser() {
@@ -244,7 +244,7 @@ function injectProxy(Service) {
244244
}
245245

246246
var CorreiosService = isBrowser() ? injectProxy(fetchCorreiosService) : fetchCorreiosService;
247-
var ViaCepService = isBrowser() ? injectProxy(fetchViaCepService) : fetchViaCepService;
247+
var ViaCepService = fetchViaCepService;
248248

249249
var reverse = function reverse(promise) {
250250
return new Promise(function (resolve, reject) {

0 commit comments

Comments
 (0)