mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
fix: better logic for choosing webfinger lookups
This commit is contained in:
@@ -24,6 +24,7 @@ ActivityPub._constants = Object.freeze({
|
||||
acceptedPostTypes: [
|
||||
'Note', 'Page', 'Article', 'Question',
|
||||
],
|
||||
acceptedProtocols: ['https', ...(process.env.CI === 'true' ? ['http'] : [])],
|
||||
});
|
||||
ActivityPub._cache = requestCache;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user