API: the support page becomes a web app, React with Mantine and FastAPI (D-137)
Same features as the local page; agents, tools, prompts and knowledge unchanged. - API/web/: React (Vite) with Mantine components: collapsible sidebar, mobile drawer, cards, notifications, dark mode - API/support/serveur.py: FastAPI serves the built page and /api; agent events pushed by server-sent events (/api/flux) instead of polling - data, cases folder and port set by AIMSIGHT_DATA, AIMSIGHT_CASES, AIMSIGHT_PORT - check.py: server check (host guard, analyse, stream, PDF) with a fake client - old page.html removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eb10a6b735
commit
b0245c4067
17 files changed
+1666
-263
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
// npm run dev : la page sur http://localhost:5173, l'API demandée au serveur Python (port 8770)
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: { proxy: { "/api": "http://127.0.0.1:8770" } },
|
||||
});
|
||||
Reference in new issue
Block a user