mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Adapt feeds content-type to accept header
This commit is contained in:
parent
9270ccf6dc
commit
f2f0eda543
8 changed files with 67 additions and 24 deletions
|
@ -74,7 +74,7 @@ activityPubClientRouter.get('/accounts?/:name/dislikes/:videoId',
|
|||
|
||||
activityPubClientRouter.get('/videos/watch/:id',
|
||||
executeIfActivityPub,
|
||||
asyncMiddleware(cacheRoute(ROUTE_CACHE_LIFETIME.ACTIVITY_PUB.VIDEOS)),
|
||||
asyncMiddleware(cacheRoute()(ROUTE_CACHE_LIFETIME.ACTIVITY_PUB.VIDEOS)),
|
||||
asyncMiddleware(videosCustomGetValidator('only-video-with-rights')),
|
||||
asyncMiddleware(videoController)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue