inboxが処理できない問題を多分修正

This commit is contained in:
syuilo 2022-12-06 09:21:36 +09:00
parent 3e493effaf
commit d8611506cf
1 changed files with 2 additions and 0 deletions

View File

@ -433,6 +433,8 @@ export class ActivityPubServerService {
});
fastify.register(fastifyAccepts);
fastify.addContentTypeParser('application/activity+json', { parseAs: 'string' }, fastify.getDefaultJsonParser('ignore', 'ignore'));
fastify.addContentTypeParser('application/ld+json', { parseAs: 'string' }, fastify.getDefaultJsonParser('ignore', 'ignore'));
//#region Routing
// inbox