forked from AkkomaGang/akkoma
utils: use litepub @context instead of that huge mess
This commit is contained in:
parent
f733470037
commit
da16ada424
1 changed files with 1 additions and 12 deletions
|
@ -70,18 +70,7 @@ def make_json_ld_header do
|
|||
%{
|
||||
"@context" => [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
%{
|
||||
"manuallyApprovesFollowers" => "as:manuallyApprovesFollowers",
|
||||
"sensitive" => "as:sensitive",
|
||||
"Hashtag" => "as:Hashtag",
|
||||
"ostatus" => "http://ostatus.org#",
|
||||
"atomUri" => "ostatus:atomUri",
|
||||
"inReplyToAtomUri" => "ostatus:inReplyToAtomUri",
|
||||
"conversation" => "ostatus:conversation",
|
||||
"toot" => "http://joinmastodon.org/ns#",
|
||||
"Emoji" => "toot:Emoji"
|
||||
}
|
||||
"https://litepub.github.io/litepub/context.jsonld"
|
||||
]
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue