mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
refactor: acceptable types in context.js to index.js, allow searching for remote topis by topic url
This commit is contained in:
@@ -44,6 +44,7 @@ ActivityPub._constants = Object.freeze({
|
||||
acceptedProtocols: ['https', ...(process.env.CI === 'true' ? ['http'] : [])],
|
||||
acceptable: {
|
||||
customFields: new Set(['PropertyValue', 'Link', 'Note']),
|
||||
contextTypes: new Set(['Collection', 'CollectionPage', 'OrderedCollection', 'OrderedCollectionPage']),
|
||||
},
|
||||
});
|
||||
ActivityPub._cache = requestCache;
|
||||
|
||||
Reference in New Issue
Block a user