diff --git a/internal/web/templates/admin/login.html b/internal/web/templates/admin/login.html index bdeb31a..f2e7184 100644 --- a/internal/web/templates/admin/login.html +++ b/internal/web/templates/admin/login.html @@ -57,7 +57,7 @@ function login() { const password = document.getElementById('password').value; - fetch('admin/api/login', { + fetch('api/login', { method: 'POST', headers: { 'Content-Type': 'application/json'