fix(dashboard): populate recent-activity feed from audit logs

Align the frontend with the /logs API contract: the endpoint returns
{ logs: [...] } with a created_at field, not { items: [...] } / timestamp.
Add a Vite dev-proxy rule for /logs so the request reaches the backend.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 22:18:30 +05:00
parent ed4ff6576a
commit 493814f44f
2 changed files with 14 additions and 10 deletions

View File

@@ -28,6 +28,10 @@ export default defineConfig({
changeOrigin: true,
ws: true,
},
'/logs': {
target: backendUrl,
changeOrigin: true,
},
},
},
})