refactor(ui): remove /rpc proxy handler -- hero_router owns /rpc #21

Merged
ashraf merged 1 commit from development_remove_rpc_proxy into main 2026-04-23 14:28:27 +00:00
Member

Summary

  • Remove the custom /rpc JSON-RPC proxy from hero_livekit_ui
  • Browser RPC traffic now flows through hero_router directly to rpc.sock
  • Updated JS fetch URL to use trailing-slash convention (/rpc/)
  • Updated architecture and UI docs to reflect new routing

Closes #5

Changes

  • Deleted rpc_proxy_handler, forward_rpc, /rpc route, and dead imports from main.rs (-82 lines)
  • Updated dashboard.js RPC URL from "/rpc" to "/rpc/"
  • Updated base.html comment
  • Updated docs/architecture.md process table and request flow diagrams
  • Updated docs/ui.md routes table and base-path docs

Test Results

34 tests passed, 0 failures

## Summary - Remove the custom /rpc JSON-RPC proxy from hero_livekit_ui - Browser RPC traffic now flows through hero_router directly to rpc.sock - Updated JS fetch URL to use trailing-slash convention (/rpc/) - Updated architecture and UI docs to reflect new routing ## Related Issue Closes https://forge.ourworld.tf/lhumina_code/hero_livekit/issues/5 ## Changes - Deleted rpc_proxy_handler, forward_rpc, /rpc route, and dead imports from main.rs (-82 lines) - Updated dashboard.js RPC URL from "/rpc" to "/rpc/" - Updated base.html comment - Updated docs/architecture.md process table and request flow diagrams - Updated docs/ui.md routes table and base-path docs ## Test Results 34 tests passed, 0 failures
refactor(ui): remove /rpc proxy handler -- hero_router owns /rpc
Some checks failed
Build & Test / check (pull_request) Successful in 2m4s
Build & Test / check (push) Has been cancelled
7a6e18e122
#5
ashraf merged commit 7a6e18e122 into main 2026-04-23 14:28:27 +00:00
ashraf deleted branch development_remove_rpc_proxy 2026-04-23 14:28:27 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_livekit!21
No description provided.