Skip to content

Commit bcb917c

Browse files
Merge pull request #150 from filipedeschamps/encode-proxy-url
Fix proxy logic that enables usage within the browser
2 parents e1087a5 + 0055e9f commit bcb917c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/cep-promise-browser.js

Lines changed: 1 addition & 1 deletion
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() {

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: 1 addition & 1 deletion
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() {

0 commit comments

Comments
 (0)