File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -423,13 +423,15 @@ export class AppModule { }
423423
424424If 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
432432NgxUiLoaderHttpModule .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 >
You can’t perform that action at this time.
0 commit comments