添加html页面

This commit is contained in:
浪子
2026-05-16 09:57:35 +08:00
parent 6c104b9db3
commit d39940cd59
5 changed files with 740 additions and 186 deletions
+3 -2
View File
@@ -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 ?? [],