♻️ Refactor urls with aliased services

This commit is contained in:
2024-08-17 23:56:03 +08:00
parent 0eaec5dd8d
commit ceca94c712
30 changed files with 55 additions and 55 deletions

View File

@@ -86,7 +86,7 @@ const panel = ref("confirm")
async function tryAuthorize() {
loading.value = true
const res = await solarFetch(`/cgi/auth/auth/o/authorize${window.location.search}`)
const res = await solarFetch(`/cgi/id/auth/o/authorize${window.location.search}`)
if (res.status !== 200) {
error.value = await res.text()
@@ -115,7 +115,7 @@ function decline() {
async function approve() {
loading.value = true
const res = await solarFetch(`/cgi/auth/auth/o/authorize${window.location.search}`, {
const res = await solarFetch(`/cgi/id/auth/o/authorize${window.location.search}`, {
method: "POST",
})