From cfae11cf0aa90aa26ddb2e5e6576cfd09b063e62 Mon Sep 17 00:00:00 2001 From: Chris Scott Date: Mon, 24 Nov 2025 00:28:45 -0500 Subject: [PATCH] fix double API prefix in URLs - Remove /api prefix from API_BASE_URL to prevent /api/api/ paths - Keep API_BASE_URL as base URL only, endpoints add their own /api prefix --- frontend/src/constants/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/constants/api.ts b/frontend/src/constants/api.ts index 4fc1c11d..09a1be26 100644 --- a/frontend/src/constants/api.ts +++ b/frontend/src/constants/api.ts @@ -1,3 +1,3 @@ -export const API_BASE_URL = import.meta.env.VITE_API_URL || '/api' +export const API_BASE_URL = import.meta.env.VITE_API_URL || '' export const OPENCODE_API_ENDPOINT = '/api/opencode' \ No newline at end of file