This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user