👽 Update API path

This commit is contained in:
2025-12-19 22:16:48 +08:00
parent 7170a6214b
commit 6b46616de4
10 changed files with 20 additions and 20 deletions

View File

@@ -61,7 +61,7 @@ function handleSuccess(token: string) {
// This function will be used to fetch configuration if needed,
// Like the backend didn't embed the configuration properly.
async function fetchConfiguration() {
const resp = await api<{ provider: string; apiKey: string }>("/id/captcha")
const resp = await api<{ provider: string; apiKey: string }>("/pass/captcha")
provider.value = resp.provider
apiKey.value = resp.apiKey
}