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
This commit is contained in:
Chris Scott committed 2025-11-24 00:28:45 -05:00
1 parent 3545e852e9
commit cfae11cf0a
1 file changed
+1 -1
+1 -1
View File
@@ -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'