mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
notActivitypubMiddleware: add bare ld+json to ACTIVITYPUB_TYPES
This commit is contained in:
parent
420cbba71f
commit
6d31949944
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import { MiddlewareHandler } from '@hono/hono';
|
||||||
|
|
||||||
const ACTIVITYPUB_TYPES = [
|
const ACTIVITYPUB_TYPES = [
|
||||||
'application/activity+json',
|
'application/activity+json',
|
||||||
|
'application/ld+json',
|
||||||
'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue