Skip to content

Commit

Permalink
Merge pull request BrasilAPI#156 from filipedeschamps/remove-proxier-…
Browse files Browse the repository at this point in the history
…from-viacep

Remove proxy de CORS do serviço ViaCep
  • Loading branch information
filipedeschamps authored Jan 30, 2020
2 parents a070ec6 + cdfa332 commit a1ae6f8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/cep-promise-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function injectProxy(Service) {
}

var CorreiosService = isBrowser() ? injectProxy(fetchCorreiosService) : fetchCorreiosService;
var ViaCepService = isBrowser() ? injectProxy(fetchViaCepService) : fetchViaCepService;
var ViaCepService = fetchViaCepService;

var reverse = function reverse(promise) {
return new Promise(function (resolve, reject) {
Expand Down
2 changes: 1 addition & 1 deletion dist/cep-promise-browser.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cep-promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function injectProxy(Service) {
}

var CorreiosService = isBrowser() ? injectProxy(fetchCorreiosService) : fetchCorreiosService;
var ViaCepService = isBrowser() ? injectProxy(fetchViaCepService) : fetchViaCepService;
var ViaCepService = fetchViaCepService;

var reverse = function reverse(promise) {
return new Promise(function (resolve, reject) {
Expand Down
Loading

0 comments on commit a1ae6f8

Please sign in to comment.