refactor: consolidate environment config and API handling

- Update database paths and port configuration
- Remove backend config.ts and sessions route
- Add mobile file preview and files API
- Clean up shared constants and provider hooks
This commit is contained in:
Chris Scott committed 2025-11-25 09:39:56 -05:00
1 parent 0db354048d
commit 8a56bc208d
32 files changed
+301 -512

No files matched your search

+1 -3
View File
@@ -1,3 +1 @@
export const API_BASE_URL = import.meta.env.VITE_API_URL || ''
export const OPENCODE_API_ENDPOINT = '/api/opencode'
export { API_BASE_URL, OPENCODE_API_ENDPOINT } from '../config'