diff options
Diffstat (limited to 'juick-server')
-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; |