W3cubDocs

/Angular

PRECONNECT_CHECK_BLOCKLIST

const

Injection token to configure which origins should be excluded from the preconnect checks. It can either be a single string or an array of strings to represent a group of origins, for example:

See more...

const PRECONNECT_CHECK_BLOCKLIST: InjectionToken<(string | string[])[]>;

Description

{provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}

or:

{provide: PRECONNECT_CHECK_BLOCKLIST,
  useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/PRECONNECT_CHECK_BLOCKLIST