update path handling
Some checks failed
deploy / build-and-deploy (push) Failing after 19s

This commit is contained in:
2025-05-18 15:26:52 +02:00
parent 13a8eae450
commit 8de9c0739e
17 changed files with 58 additions and 44 deletions

View File

@ -27,7 +27,6 @@ import Popup from '@components/popup/Popup.svelte';
<script>
import { actions } from 'astro:actions';
import { BASE_PATH } from 'astro:env/client';
import { popupState } from '@components/popup/Popup';
const loginForm = document.getElementById('login') as HTMLFormElement;
@ -45,6 +44,6 @@ import Popup from '@components/popup/Popup.svelte';
popupState.set({ type: 'error', title: 'Fehler', message: error.message });
return;
}
window.location.href = `${BASE_PATH}/admin`;
window.location.href = 'admin';
});
</script>