UI: BASE_PATH double-slash produces /rpc 404 in iframe #113

Closed
opened 2026-04-29 11:10:10 +00:00 by zaelgohary · 0 comments
Member

When books admin loads inside the hero_os iframe, every RPC call fetches /hero_books/ui//rpc (note the double slash) and gets a 404. Cause: BASE_PATH = "{{ base }}" already ends with /, so the JS BASE_PATH + "/rpc" doubles it.

When books admin loads inside the hero_os iframe, every RPC call fetches `/hero_books/ui//rpc` (note the double slash) and gets a 404. Cause: `BASE_PATH = "{{ base }}"` already ends with `/`, so the JS `BASE_PATH + "/rpc"` doubles it.
Sign in to join this conversation.
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_books#113
No description provided.