Peticion de datos a https
This commit is contained in:
parent
949b82f220
commit
e58baa3b28
|
|
@ -13,7 +13,7 @@ async function login() {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch("http://localhost:8080/auth/login", {
|
const response = await fetch("https://recursos-catolicos.es:8080/auth/login", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
body: JSON.stringify({ email, password })
|
body: JSON.stringify({ email, password })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue