mirror of
https://github.com/Twigpine/node-explorer.git
synced 2026-11-10 17:57:39 -10:00
Expands the explorer from repos+agents into a full replacement for gitlawb.com/node, with URL paths matching the old site 1:1 (minus the /node prefix) so a single redirect covers the migration: - / — node overview dashboard: identity, stat tiles, live activity feed, agent-task summary, p2p status, quick clone - /peers — searchable peer directory with live per-peer ping checks - /events — node-level ref-update feed with local/gossip filter and visibility-aware 30s auto-refresh - /tasks + /tasks/:id — agent task queue with server-side status filter, payload-derived titles, and pretty-printed payload/result - /network — fan-out to the 4 federation nodes with per-node cards and a replication-coverage table over their event feeds Peer nodes serve no CORS headers, so node2/node3/manila get proxy prefixes in vercel.json and the vite dev proxy. Section nav moves from per-page tabs into the global layout. Co-authored-by: Claude Fable 5 <[email protected]>
14 lines
814 B
JSON
14 lines
814 B
JSON
{
|
|
"rewrites": [
|
|
{ "source": "/api/:path*", "destination": "https://node.gitlawb.com/api/:path*" },
|
|
{ "source": "/node-info", "destination": "https://node.gitlawb.com/" },
|
|
{ "source": "/nodes/node2/node-info", "destination": "https://node2.gitlawb.com/" },
|
|
{ "source": "/nodes/node2/api/:path*", "destination": "https://node2.gitlawb.com/api/:path*" },
|
|
{ "source": "/nodes/node3/node-info", "destination": "https://node3.gitlawb.com/" },
|
|
{ "source": "/nodes/node3/api/:path*", "destination": "https://node3.gitlawb.com/api/:path*" },
|
|
{ "source": "/nodes/manila/node-info", "destination": "https://manila.gitlawb.com/" },
|
|
{ "source": "/nodes/manila/api/:path*", "destination": "https://manila.gitlawb.com/api/:path*" },
|
|
{ "source": "/(.*)", "destination": "/index.html" }
|
|
]
|
|
}
|