diff --git a/goofy-client/libs/tech-shared/src/lib/interceptor/xhr.interceptor.ts b/goofy-client/libs/tech-shared/src/lib/interceptor/xhr.interceptor.ts
index a667ebcd5fb8e29fe332d45e37773f6cddab67cf..a62b7a5ee796a1056dfa4bde088e0e2b9f6a8767 100644
--- a/goofy-client/libs/tech-shared/src/lib/interceptor/xhr.interceptor.ts
+++ b/goofy-client/libs/tech-shared/src/lib/interceptor/xhr.interceptor.ts
@@ -40,7 +40,8 @@ export class XhrInterceptor implements HttpInterceptor {
 	}
 
 	isApiRequest(url: string): boolean {
-		return url.startsWith(this.envConfig.remoteHost);
+		const urlObject: URL = new URL(url);
+		return urlObject.pathname.startsWith('/api');
 	}
 
 	addHeader(req: HttpRequest<unknown>): HttpRequest<unknown> {