1
0
Fork 0
peertube/server/controllers/activitypub/utils.ts

12 lines
243 B
TypeScript
Raw Normal View History

import * as express from 'express'
function activityPubResponse (data: any, res: express.Response) {
return res.type('application/activity+json; charset=utf-8')
.json(data)
.end()
}
export {
activityPubResponse
}