diff --git a/java-api/src/main/resources/dashboard.html b/java-api/src/main/resources/dashboard.html index ae44671..cd60731 100644 --- a/java-api/src/main/resources/dashboard.html +++ b/java-api/src/main/resources/dashboard.html @@ -312,7 +312,7 @@ if (dateFrom) params.append('from', new Date(dateFrom).toISOString()); if (dateTo) params.append('to', new Date(dateTo).toISOString()); - const response = await axios.get('/api/data?' + params.toString()); + const response = await axios.get('/hb/api/data?' + params.toString()); const data = response.data; updateStats(data); diff --git a/java-api/src/main/resources/error.html b/java-api/src/main/resources/error.html index 7d0cc6a..faa6163 100644 --- a/java-api/src/main/resources/error.html +++ b/java-api/src/main/resources/error.html @@ -55,7 +55,7 @@

⚠️ Chyba

%MESSAGE%

- Zpět na přihlášení + Zpět na přihlášení
diff --git a/java-api/src/main/resources/login.html b/java-api/src/main/resources/login.html index abc9bdf..83561cd 100644 --- a/java-api/src/main/resources/login.html +++ b/java-api/src/main/resources/login.html @@ -94,7 +94,7 @@ function submitLogin(event) { event.preventDefault(); const apiKey = document.getElementById('apiKey').value; - window.location.href = '/?apiKey=' + encodeURIComponent(apiKey); + window.location.href = '/hb/dashboard?apiKey=' + encodeURIComponent(apiKey); }