Skip to content

Commit

Permalink
Add ActivityPub related mime types to JSON renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauve Signweaver committed May 10, 2023
1 parent bfe3b33 commit df4259d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ const TYPE_MAP = {
'text/markdown': 'markdown',
'text/gemini': 'gemini',
'application/json': 'json',
'application/ssb+json': 'ssb'
// TODO: Hooks for activitystream rendering?
'application/activity+json',
'application/ld+json',
'application/ssb+json': 'ssb',
}

const SCRIPT_MAP = {
Expand Down

0 comments on commit df4259d

Please sign in to comment.