mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
fix: body parse ld+json coming from fediverse
This commit is contained in:
parent
3b71fe8a75
commit
f96c8261d7
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ router.use((_req, res, next) => {
|
|||
return res.status(401).send('Federation disabled')
|
||||
})
|
||||
|
||||
router.use(express.json({ type: ['application/json', 'application/activity+json', 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'] }))
|
||||
router.use(express.json({ type: ['application/json', 'application/activity+json', 'application/ld+json'] }))
|
||||
|
||||
router.get('/m/:event_id', async (req, res) => {
|
||||
log.debug('[AP] Get event details ')
|
||||
|
|
Loading…
Reference in a new issue