2021-08-27 07:32:44 -05:00
|
|
|
import express from 'express'
|
2018-05-25 09:21:16 -05:00
|
|
|
|
|
|
|
function activityPubResponse (data: any, res: express.Response) {
|
|
|
|
return res.type('application/activity+json; charset=utf-8')
|
|
|
|
.json(data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export {
|
|
|
|
activityPubResponse
|
|
|
|
}
|