```
chore: refactor logging module, update genesis timestamp, remove model relationships, and reorganize routers - Rename logging.py to logger.py and update import paths in poa.py and main.py - Update devnet genesis timestamp to 1766828620 - Remove SQLModel Relationship declarations from Block, Transaction, and Receipt models - Add SessionDep type alias and get_session dependency in coordinator-api deps - Reorganize coordinator-api routers: replace explorer/registry with exchange, users, marketplace
This commit is contained in:
@@ -7,8 +7,10 @@ export interface ExplorerConfig {
|
||||
}
|
||||
|
||||
export const CONFIG: ExplorerConfig = {
|
||||
// Toggle between "mock" (static JSON under public/mock/) and "live" coordinator APIs.
|
||||
dataMode: (import.meta.env?.VITE_DATA_MODE as DataMode) ?? "mock",
|
||||
// Base URL for the coordinator API
|
||||
apiBaseUrl: "https://aitbc.bubuit.net/api",
|
||||
// Base path for mock data files (used by fetchMock)
|
||||
mockBasePath: "/explorer/mock",
|
||||
apiBaseUrl: import.meta.env?.VITE_COORDINATOR_API ?? "http://localhost:8000",
|
||||
// Default data mode: "live" or "mock"
|
||||
dataMode: "live" as "live" | "mock",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user