diff --git a/src/scripts/change.js b/src/scripts/change.js index 64cf29d..4175da7 100644 --- a/src/scripts/change.js +++ b/src/scripts/change.js @@ -63,7 +63,7 @@ submit.addEventListener("click", (e) => { submit.disabled = true; - fetch("https://api.exptech.com.tw/api/v1/et/change", { + fetch("https://api.exptech.com.tw/api/v3/et/change", { method : "POST", headers : { "Content-Type": "application/json" }, body : JSON.stringify({ diff --git a/src/scripts/forget.js b/src/scripts/forget.js index ae8fe45..11d82e5 100644 --- a/src/scripts/forget.js +++ b/src/scripts/forget.js @@ -18,7 +18,7 @@ submit.addEventListener("click", (e) => { submit.disabled = true; - fetch("https://api.exptech.com.tw/api/v1/et/forget", { + fetch("https://api.exptech.com.tw/api/v3/et/forget", { method : "POST", headers : { "Content-Type": "application/json" }, body : JSON.stringify({ email: values.email }),