Files
aitbc/apps/explorer-web/src/config.ts
oib 9b9c5beb23 ```
chore: enhance .gitignore and remove obsolete documentation files

- Reorganize .gitignore with categorized sections for better maintainability
- Add comprehensive ignore patterns for Python, Node.js, databases, logs, and build artifacts
- Add project-specific ignore rules for coordinator, explorer, and deployment files
- Remove outdated documentation: BITCOIN-WALLET-SETUP.md, LOCAL_ASSETS_SUMMARY.md, README-CONTAINER-DEPLOYMENT.md, README-DOMAIN-DEPLOYMENT.md
```
2026-01-24 14:44:51 +01:00

17 lines
489 B
TypeScript

export type DataMode = "mock" | "live";
export interface ExplorerConfig {
dataMode: DataMode;
mockBasePath: string;
apiBaseUrl: string;
}
export const config = {
// Base URL for the coordinator API
apiBaseUrl: import.meta.env.VITE_COORDINATOR_API ?? 'https://aitbc.bubuit.net/api',
// Base path for mock data files (used by fetchMock)
mockBasePath: '/explorer/mock',
// Default data mode: "live" or "mock"
dataMode: 'live', // Changed from 'mock' to 'live'
} as const;