Refactor
This commit is contained in:
6
src/remote/activitypub/renderer/image.ts
Normal file
6
src/remote/activitypub/renderer/image.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import config from '../../../conf';
|
||||
|
||||
export default ({ _id }) => ({
|
||||
type: 'Image',
|
||||
url: `${config.drive_url}/${_id}`
|
||||
});
|
Reference in New Issue
Block a user