misskey-awawa/src/remote/activitypub/renderer/image.ts

7 lines
123 B
TypeScript
Raw Normal View History

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