Implement outbox
This commit is contained in:
parent
0cb6fbea8c
commit
1f1417a0f7
12 changed files with 161 additions and 76 deletions
7
src/common/remote/activitypub/renderer/document.ts
Normal file
7
src/common/remote/activitypub/renderer/document.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import config from '../../../../conf';
|
||||
|
||||
export default ({ _id, contentType }) => ({
|
||||
type: 'Document',
|
||||
mediaType: contentType,
|
||||
url: `${config.drive_url}/${_id}`
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue