添加html页面
This commit is contained in:
+3
-2
@@ -44,7 +44,8 @@ import {
|
||||
id,
|
||||
mediaUrl,
|
||||
objectUrl,
|
||||
profileUrl
|
||||
profileUrl,
|
||||
statusUrl
|
||||
} from "./util";
|
||||
|
||||
export async function webFinger(request: Request, env: Env): Promise<Response> {
|
||||
@@ -746,7 +747,7 @@ export function noteObject(env: Env, user: User, status: Status, opts: { to?: st
|
||||
attributedTo: actorUrl(env, user),
|
||||
content: status.content,
|
||||
published: status.created_at,
|
||||
url: status.url,
|
||||
url: statusUrl(env, user, status.id),
|
||||
to: opts.to ?? audience.to,
|
||||
cc: opts.cc ?? audience.cc,
|
||||
attachment: opts.attachments ?? [],
|
||||
|
||||
Reference in New Issue
Block a user