[Library]: timeout-interceptor.service.ts: #8186 - Added properties.claimsAPIURL in TIMEOUT_WHITELIST to exclude claims requests from timeout interceptor.
This commit is contained in:
parent
68e0aa98a8
commit
81a29287d4
|
@ -9,7 +9,7 @@ export const DEFAULT_TIMEOUT = new InjectionToken<number>('defaultTimeout');
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class TimeoutInterceptor implements HttpInterceptor {
|
export class TimeoutInterceptor implements HttpInterceptor {
|
||||||
private static TIMEOUT_WHITELIST = [properties.csvAPIURL, properties.registryUrl];
|
private static TIMEOUT_WHITELIST = [properties.csvAPIURL, properties.registryUrl, properties.claimsAPIURL];
|
||||||
|
|
||||||
constructor(@Inject(DEFAULT_TIMEOUT) protected defaultTimeout: number, @Inject(PLATFORM_ID) private platformId: any) {
|
constructor(@Inject(DEFAULT_TIMEOUT) protected defaultTimeout: number, @Inject(PLATFORM_ID) private platformId: any) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue