diff options
Diffstat (limited to 'client/client.js')
| -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])) } |
