mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
- 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
3 lines
116 B
TypeScript
3 lines
116 B
TypeScript
export const API_BASE_URL = import.meta.env.VITE_API_URL || ''
|
|
|
|
export const OPENCODE_API_ENDPOINT = '/api/opencode' |