Fixed broken URI
This commit is contained in:
parent
3a31511c76
commit
52324e269c
|
@ -108,7 +108,7 @@
|
|||
console.log("User:", userinfoData.name)
|
||||
console.log("Sub:", userinfoData.sub);
|
||||
document.getElementById("text").innerText = "Authenticating, " + userinfoData.name;
|
||||
fetch("https://cat.hectabit.org/api/migrate", {
|
||||
fetch("/api/migrate", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
preferreduser = getCookie("prefuser")
|
||||
}
|
||||
document.getElementById("text").innerText = "Authenticating, " + userinfoData.name;
|
||||
fetch("https://cat.hectabit.org/api/oauth", {
|
||||
fetch("/api/oauth", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
|
|
Reference in New Issue