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