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

7 lines
126 B
TypeScript
Raw Normal View History

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