Files
opencode-manager/frontend/src/constants/api.ts
T
Chris Scott cfae11cf0a 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
2025-11-24 00:28:45 -05:00

3 lines
116 B
TypeScript

export const API_BASE_URL = import.meta.env.VITE_API_URL || ''
export const OPENCODE_API_ENDPOINT = '/api/opencode'