diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-07-02 23:11:42 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-07-02 23:11:42 +0200 |
| commit | ba08fd7f75a29ba64f0be2527f65d7445cb7cb34 (patch) | |
| tree | f84d9c1ea124eab0206becf8ace5c0879ed15a95 /client | |
| parent | c19ab57223590fcb35b319ae4d1a6edf30f52bf3 (diff) | |
nsatf
Diffstat (limited to 'client')
| -rw-r--r-- | client/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.js b/client/client.js index ee50373..2f97e7c 100644 --- a/client/client.js +++ b/client/client.js @@ -1,6 +1,6 @@ function _get_url(_url, data) { const url = new URL(document.origin + _url) - console.log(_url, data, document.origin) + console.log(_url, data, window.location.origin) if (data) { Object.keys(data).forEach(key => url.searchParams.append(key, data[key])) } |
