Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

PRECONNECT_CHECK_BLOCKLIST

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']}