Skip to content

Commit 311bc01

Browse files
committed
Update README
1 parent ed3a407 commit 311bc01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,13 +423,15 @@ export class AppModule { }
423423

424424
If you wish to not show loader for some specific API urls, you can pass an array of these urls (case-insensitive) to `forRoot()` method as below:
425425
```typescript
426-
NgxUiLoaderHttpModule.forRoot({ exclude: ['/api/not/show/loader', '/api/logout'] });
426+
NgxUiLoaderHttpModule.forRoot({ exclude: ['/api/not/show/loader', '/api/logout', 'https://external-domain.com/api/not/to/show'] });
427427
```
428428

429-
or if you don't want to show loader for urls which start with `/api/auth`, do as follow:
429+
or if you don't want to show loader for urls which start with `/api/auth` or `https://external-domain.com/api/auth`, do as follow:
430430

431431
```typescript
432432
NgxUiLoaderHttpModule.forRoot({ exclude: ['/api/auth'] });
433+
// Or
434+
NgxUiLoaderHttpModule.forRoot({ exclude: ['https://external-domain.com/api/auth'] });
433435
```
434436

435437
<a name="http_requests_parameters"></a>

0 commit comments

Comments
 (0)