iceshrimp/src/remote/activitypub/renderer/document.ts

8 lines
166 B
TypeScript
Raw Normal View History

2018-04-02 13:15:53 +09:00
import config from '../../../config';
2018-04-01 19:18:36 +09:00
export default ({ _id, contentType }) => ({
type: 'Document',
mediaType: contentType,
url: `${config.drive_url}/${_id}`
});