mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
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:
1 parent
3545e852e9
commit
cfae11cf0a
1 file changed
+1
-1
@@ -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'
|
||||
Reference in new issue
Block a user