context fix
This commit is contained in:
parent
a0bda05d1f
commit
7b5c827635
@ -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);
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
<div class="error-container">
|
||||
<h1>⚠️ Chyba</h1>
|
||||
<p>%MESSAGE%</p>
|
||||
<a href="/">Zpět na přihlášení</a>
|
||||
<a href="/hb/dashboard">Zpět na přihlášení</a>
|
||||
</div>
|
||||
</body>
|
||||
</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);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user