dburl geaendert

This commit is contained in:
Ali
2026-02-20 19:26:42 +09:00
parent 7b0d41e2f4
commit 4357d80ce3
2 changed files with 3 additions and 7 deletions

View File

@@ -48,7 +48,6 @@
const username = document.getElementById('emailInput').value;
const password = document.getElementById('passwordInput').value;
const errorDisplay = document.getElementById('error');
const data = await response.json().catch(() => ({ message: "Server antwortet nicht lesbar" }));
// Entscheide, an welche Tür (URL) wir klopfen
const endpoint = isRegisterMode ? '/auth/register' : '/auth/login';