Update activitypub.ex
This commit is contained in:
parent
0b88881934
commit
da4cdc612a
1 changed files with 2 additions and 2 deletions
|
@ -72,13 +72,13 @@ defmodule Nulla.ActivityPub do
|
|||
Jason.OrderedObject.new(
|
||||
type: "Image",
|
||||
mediaType: MIME.from_path(user.avatar),
|
||||
url: "https://#{domain}#{user.avatar}"
|
||||
url: "https://#{domain}/files/#{user.avatar}"
|
||||
),
|
||||
image:
|
||||
Jason.OrderedObject.new(
|
||||
type: "Image",
|
||||
mediaType: MIME.from_path(user.banner),
|
||||
url: "https://#{domain}#{user.banner}"
|
||||
url: "https://#{domain}/files/#{user.banner}"
|
||||
),
|
||||
"vcard:bday": user.birthday,
|
||||
"vcard:Address": user.location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue