Update frontend/src/components/Signin.jsx
Browse files
frontend/src/components/Signin.jsx
CHANGED
|
@@ -16,7 +16,7 @@ function Signin({toLogin}) {
|
|
| 16 |
const handleSubmit = async (e) => {
|
| 17 |
e.preventDefault();
|
| 18 |
try {
|
| 19 |
-
const res = await fetch("/api/register", {
|
| 20 |
method: "POST",
|
| 21 |
headers: {
|
| 22 |
"Content-Type": "application/json"
|
|
|
|
| 16 |
const handleSubmit = async (e) => {
|
| 17 |
e.preventDefault();
|
| 18 |
try {
|
| 19 |
+
const res = await fetch("https://axl95-medically.hf.space/api/register", {
|
| 20 |
method: "POST",
|
| 21 |
headers: {
|
| 22 |
"Content-Type": "application/json"
|