修复个人资料

This commit is contained in:
浪子
2026-05-14 13:37:13 +08:00
parent 5b01f18719
commit 5a9acd60c5
7 changed files with 208 additions and 17 deletions
+2
View File
@@ -38,6 +38,7 @@ import {
homeTimeline,
instance,
instanceV2,
lookupAccount,
markersList,
notificationClear,
notificationDismiss,
@@ -108,6 +109,7 @@ async function route(request: Request, env: Env): Promise<Response> {
if ((method === "PATCH" || method === "POST") && path === "/api/v1/accounts/update_credentials") return updateCredentials(request, env);
if (method === "GET" && path === "/api/v1/accounts/relationships") return getRelationships(request, env);
if (method === "GET" && path === "/api/v1/accounts/search") return search(request, env);
if (method === "GET" && path === "/api/v1/accounts/lookup") return lookupAccount(request, env);
let m: RegExpMatchArray | null;