dburl geaendert
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
const endpoint = isRegisterMode ? '/auth/register' : '/auth/login';
|
||||
|
||||
try {
|
||||
const response = await fetch(`http://localhost:5003${endpoint}`, {
|
||||
const response = await fetch(endpoint, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ username, password })
|
||||
|
||||
Reference in New Issue
Block a user