From ba08fd7f75a29ba64f0be2527f65d7445cb7cb34 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 2 Jul 2017 23:11:42 +0200 Subject: nsatf --- client/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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])) } -- cgit v1.2.3-70-g09d2