From afcccd194a3eb2057511d3f539f97422c80c69c4 Mon Sep 17 00:00:00 2001 From: Sreenand P K Date: Tue, 21 Jul 2026 11:16:53 +0530 Subject: [PATCH] feat(api): update API client for shared infrastructure microservices --- src/lib/api.client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/api.client.ts b/src/lib/api.client.ts index 85bce01..b01d73b 100644 --- a/src/lib/api.client.ts +++ b/src/lib/api.client.ts @@ -6,6 +6,7 @@ const API_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:8000'; export const apiClient = axios.create({ baseURL: API_URL, withCredentials: true, // Crucial for sending/receiving the HttpOnly refresh token cookie + timeout: 5000, }); // Request Interceptor: Attach the access token if available