[eric] service layer improvements + URL fixes

This commit is contained in:
ciregenz
2026-05-05 10:48:50 -07:00
parent b2015caca7
commit f5538a7c27
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -922,7 +922,7 @@ const UsageStats: React.FC = () => {
const [stats, setStats] = useState<any>(null);
useEffect(() => {
fetch(`${API_BASE}/analytics/usage-summary`)
fetch(`${API_BASE}/service/usage-summary`)
.then(r => r.json())
.then(setStats)
.catch(() => {});
+1 -1
View File
@@ -1,7 +1,7 @@
import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/config';
const ANALYTICS_API = `${API_BASE}/analytics`;
const ANALYTICS_API = `${API_BASE}/service`;
export interface UsageSummary {
total_sessions: number;