This commit is contained in:
maojindao55
2025-03-31 18:54:51 +08:00
parent 0f983f0e5e
commit 4a5a224056
7 changed files with 189 additions and 96 deletions

View File

@@ -28,6 +28,8 @@ export const onRequestGet: PagesFunction<Env> = async (context) => {
}
);
}
//处理avatar_url
userInfo.avatar_url = `${env.NEXT_PUBLIC_CF_IMAGES_DELIVERY_URL}/${userInfo.avatar_url}/public`;
return new Response(
JSON.stringify({