fix: serve WASM assets under /hero_os base path and standardize servers #13

Merged
timur merged 1 commit from development_standardize into development 2026-02-24 13:01:37 +00:00
Owner

The Dioxus base_path="hero_os" causes HTML to reference /hero_os/wasm/...
but the HTTP server was serving assets at root, causing 404s. Nest a
ServeDir under /hero_os so requests resolve correctly.

Also: rename env vars to HERO_OS_HTTP_*, add Unix socket support alongside
TCP, switch default port to 8804, simplify Makefile run/stop targets,
update OpenRPC socket naming and add startup logging.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

The Dioxus base_path="hero_os" causes HTML to reference /hero_os/wasm/... but the HTTP server was serving assets at root, causing 404s. Nest a ServeDir under /hero_os so requests resolve correctly. Also: rename env vars to HERO_OS_HTTP_*, add Unix socket support alongside TCP, switch default port to 8804, simplify Makefile run/stop targets, update OpenRPC socket naming and add startup logging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: serve WASM assets under /hero_os base path and standardize servers
Some checks failed
Build and Test / test (pull_request) Failing after 5m14s
2e824d751d
The Dioxus base_path="hero_os" causes HTML to reference /hero_os/wasm/...
but the HTTP server was serving assets at root, causing 404s. Nest a
ServeDir under /hero_os so requests resolve correctly.

Also: rename env vars to HERO_OS_HTTP_*, add Unix socket support alongside
TCP, switch default port to 8804, simplify Makefile run/stop targets,
update OpenRPC socket naming and add startup logging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
timur merged commit 3083d44add into development 2026-02-24 13:01:37 +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_os!13
No description provided.