Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Oct 8, 2024
1 parent b4aa3e0 commit 0138093
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/server/activitypub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,15 @@ async function inbox(ctx: Router.RouterContext) {
}
}


try {
if (JSON.stringify(activity).match(/唐澤貴洋/)) {
console.log(`match inbox word`);
ctx.status = 202;
return;
}
} catch {
}

const queue = await (lazy ? processInboxLazy : processInbox)(activity, signature, {
ip: ctx.request.ip
});
Expand Down

0 comments on commit 0138093

Please sign in to comment.