Refactor
This commit is contained in:
parent
cdf13d30f2
commit
17f4dd69a3
7 changed files with 21 additions and 39 deletions
|
|
@ -1,5 +0,0 @@
|
|||
export default [
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
'https://w3id.org/security/v1',
|
||||
{ Hashtag: 'as:Hashtag' }
|
||||
];
|
||||
7
src/remote/activitypub/renderer/index.ts
Normal file
7
src/remote/activitypub/renderer/index.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export default (x: any) => Object.assign({
|
||||
'@context': [
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
'https://w3id.org/security/v1',
|
||||
{ Hashtag: 'as:Hashtag' }
|
||||
]
|
||||
}, x);
|
||||
Loading…
Add table
Add a link
Reference in a new issue