Function matchesThisServer
Parameters
- restrictions: IfWebHare
Restrictions to check for
- options: { unsafeEnv?: boolean } = {}
Options for checking
OptionalunsafeEnv?: booleanAllow unsafe environment variables to be tested, eg TESTSECRET__. You should only enable this for 'trusted' ifWebHare sources as environment variables may leak information (eg static moduledefinition.ymls are okay, a RPC from a connecting peer server is not)
Returns boolean
Whether the node is applicable to this WebHare installation.
- restrictions: IfWebHare
Returns whether an ifWebHare node maches this WebHare installation