From 81a29287d4cccb5db023c9978f1c18a41d4afe6f Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Wed, 26 Oct 2022 13:49:01 +0300 Subject: [PATCH] [Library]: timeout-interceptor.service.ts: #8186 - Added properties.claimsAPIURL in TIMEOUT_WHITELIST to exclude claims requests from timeout interceptor. --- timeout-interceptor.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeout-interceptor.service.ts b/timeout-interceptor.service.ts index 0ed59b2b..4737ab60 100644 --- a/timeout-interceptor.service.ts +++ b/timeout-interceptor.service.ts @@ -9,7 +9,7 @@ export const DEFAULT_TIMEOUT = new InjectionToken('defaultTimeout'); @Injectable() 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) { }