@cryptotaxi247 / CoPilot / commits / 1223f774

refactor(api): update default api root path (#801)

Co-authored-by: Davide Di Modica <webmaster.ddm@gmail.com>

taylor_socfortress committed Apr 19, 2026 at 16:03 UTC 1223f7746a3823bfac2d9b1d6b1f5cd054e14777
1 file changed +1 -1
customer-portal/src/api/httpClient.ts
+1 -1
@@ -6,7 +6,7 @@ import { isDebounceTimeOver, isJwtExpiring } from "@/utils/auth"
6
7 type HttpClientBase = "api" | "ws"
8
9 -const DEFAULT_API_ROOT = "/api/v1"
9 +const DEFAULT_API_ROOT = "/api"
10 const API_ROOT = import.meta.env.VITE_API_ROOT || DEFAULT_API_ROOT
11 const WS_ROOT = import.meta.env.VITE_WS_ROOT || API_ROOT
12