mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 23:33:09 +02:00
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.addContentTypeParser('application/activity+json', { parseAs: 'string' }, fastify.getDefaultJsonParser('ignore', 'ignore'));
|
||||
fastify.addContentTypeParser('application/ld+json', { parseAs: 'string' }, fastify.getDefaultJsonParser('ignore', 'ignore'));
|
||||
|
||||
//#region Routing
|
||||
// inbox
|
||||
|
|
Loading…
Reference in a new issue