Sharkey/src/remote/activitypub/renderer/image.ts

7 lines
125 B
TypeScript
Raw Normal View History

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