misskey/src/remote/activitypub/renderer/image.ts
2018-04-02 13:15:53 +09:00

6 lines
125 B
TypeScript

import config from '../../../config';
export default ({ _id }) => ({
type: 'Image',
url: `${config.drive_url}/${_id}`
});