dburl geaendert

This commit is contained in:
Ali
2026-02-20 19:15:44 +09:00
parent 3d43c413eb
commit 223538f5ff

View File

@@ -53,7 +53,7 @@
const endpoint = isRegisterMode ? '/auth/register' : '/auth/login'; const endpoint = isRegisterMode ? '/auth/register' : '/auth/login';
try { try {
const response = await fetch(`http://localhost:5003${endpoint}`, { const response = await fetch(endpoint, {
method: 'POST', method: 'POST',
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ username, password }) body: JSON.stringify({ username, password })