]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/controllers/activitypub/utils.ts
Translated using Weblate (Gaelic)
[github/Chocobozzz/PeerTube.git] / server / controllers / activitypub / utils.ts
1 import * as express from 'express'
2
3 function activityPubResponse (data: any, res: express.Response) {
4 return res.type('application/activity+json; charset=utf-8')
5 .json(data)
6 .end()
7 }
8
9 export {
10 activityPubResponse
11 }