Update frontend/src/components/Login.jsx
Browse files
frontend/src/components/Login.jsx
CHANGED
|
@@ -15,7 +15,7 @@ const Login = ({toSignin, onLoginSuccess}) => {
|
|
| 15 |
setIsLoading(true);
|
| 16 |
|
| 17 |
try {
|
| 18 |
-
const response = await fetch(/api/login', {
|
| 19 |
method: 'POST',
|
| 20 |
headers: {
|
| 21 |
'Content-Type': 'application/json',
|
|
|
|
| 15 |
setIsLoading(true);
|
| 16 |
|
| 17 |
try {
|
| 18 |
+
const response = await fetch('/api/login', {
|
| 19 |
method: 'POST',
|
| 20 |
headers: {
|
| 21 |
'Content-Type': 'application/json',
|