完善账号html
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user