diff options
author | Vitaly Takmazov | 2018-10-11 00:03:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-11 00:03:22 +0300 |
commit | 6a41285e43e6b78433edffa3f9a2106cda6133c0 (patch) | |
tree | 86d7975ecd203ae5d2f6a5afb575a7cd0351fded /juick-server/src/main/assets | |
parent | 31aeb6e69b5e7c329af9a0838caf848fd5300aa9 (diff) |
fix SSE in Safari
Diffstat (limited to 'juick-server/src/main/assets')
-rw-r--r-- | juick-server/src/main/assets/scripts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/assets/scripts.js b/juick-server/src/main/assets/scripts.js index 995a396a..25450d30 100644 --- a/juick-server/src/main/assets/scripts.js +++ b/juick-server/src/main/assets/scripts.js @@ -125,7 +125,7 @@ function i18n(key, lang = undefined) { var es, pageTitle; function initES() { - let url = new URL('/api/events', window.location.href); + let url = '/api/events'; let hash = document.getElementById('body').getAttribute('data-hash'); if (hash) { url += '?hash=' + hash; |