完善账号html

This commit is contained in:
浪子
2026-05-16 09:20:00 +08:00
parent 3065049aaf
commit 6c104b9db3
6 changed files with 466 additions and 12 deletions
+4
View File
@@ -95,6 +95,10 @@ export function actorUrl(env: Env, user: User): string {
return `${baseUrl(env)}/users/${user.username}`;
}
export function profileUrl(env: Env, user: User): string {
return `${baseUrl(env)}/@${encodeURIComponent(user.username)}`;
}
export function objectUrl(env: Env, statusId: string): string {
return `${baseUrl(env)}/objects/${statusId}`;
}