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