FetchUrlReader.factory
Home > @backstage/backend-common
> FetchUrlReader
> factory
The factory creates a single reader that will be used for reading any URL that's listed in configuration at backend.reading.allow
. The allow list contains a list of objects describing targets to allow, containing the following fields:
host
: Either full hostnames to match, or subdomain wildcard matchers with a leading '*'. For example 'example.com' and '*.example.com' are valid values, 'prod.*.example.com' is not.
paths
: An optional list of paths which are allowed. If the list is omitted all paths are allowed.
Signature:
static factory: ReaderFactory;