This commit is contained in:
2026-08-26 15:24:51 +08:00
parent 312519f1ab
commit ee83d87a85
8 changed files with 53 additions and 12 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ export function restoreSession() {
const pair = validatePdaTokenPair(saved.domesticToken, saved.token)
Object.assign(session, saved, {
currentUser: userFromClaims(pair), tenantId: claimId(pair.domestic, 'tenant_id'),
apiBase: saved.apiBase || OVERSEAS_API_ROOT
apiBase: OVERSEAS_API_ROOT
})
return true
} catch (_) {