inboxが処理できない問題を多分修正
This commit is contained in:
parent
3e493effaf
commit
d8611506cf
1 changed files with 2 additions and 0 deletions
|
@ -433,6 +433,8 @@ export class ActivityPubServerService {
|
||||||
});
|
});
|
||||||
|
|
||||||
fastify.register(fastifyAccepts);
|
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
|
//#region Routing
|
||||||
// inbox
|
// inbox
|
||||||
|
|
Loading…
Reference in a new issue