wifi-densepose/rust-port/wifi-densepose-rs/crates/wifi-densepose-sensing-server/src
ruv 3b72f35306 fix: UI auto-detects server port from page origin (#55)
The UI had hardcoded localhost:8080 for HTTP and localhost:8765 for
WebSocket, causing "Backend unavailable" when served from Docker
(port 3000) or any non-default port.

Changes:
- api.config.js: BASE_URL now uses window.location.origin instead
  of hardcoded localhost:8080
- api.config.js: buildWsUrl() uses window.location.host instead of
  hardcoded localhost:8080
- sensing.service.js: WebSocket URL derived from page origin instead
  of hardcoded localhost:8765
- main.rs: Added /ws/sensing route to the HTTP server so WebSocket
  and REST are reachable on a single port

Fixes #55

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-01 02:09:23 -05:00
..
dataset.rs feat: ADR-023 full DensePose training pipeline (Phases 1-8) 2026-02-28 23:22:15 -05:00
embedding.rs feat: ADR-024 Contrastive CSI Embedding Model — all 7 phases (#52) 2026-03-01 01:44:38 -05:00
graph_transformer.rs feat: ADR-024 Contrastive CSI Embedding Model — all 7 phases (#52) 2026-03-01 01:44:38 -05:00
lib.rs feat: ADR-024 Contrastive CSI Embedding Model — all 7 phases (#52) 2026-03-01 01:44:38 -05:00
main.rs fix: UI auto-detects server port from page origin (#55) 2026-03-01 02:09:23 -05:00
rvf_container.rs feat: ADR-024 Contrastive CSI Embedding Model — all 7 phases (#52) 2026-03-01 01:44:38 -05:00
rvf_pipeline.rs feat: ADR-023 full DensePose training pipeline (Phases 1-8) 2026-02-28 23:22:15 -05:00
sona.rs feat: ADR-023 full DensePose training pipeline (Phases 1-8) 2026-02-28 23:22:15 -05:00
sparse_inference.rs feat: Training mode, ADR docs, vitals and wifiscan crates 2026-02-28 23:50:20 -05:00
trainer.rs feat: ADR-024 Contrastive CSI Embedding Model — all 7 phases (#52) 2026-03-01 01:44:38 -05:00
vital_signs.rs feat: ADR-021 vital sign detection + RVF container format (closes #45) 2026-02-28 22:52:19 -05:00