rspace-online/modules/rnotes/components
Jeff Emmett b6ddd4a833 fix: getApiBase() across all 16 rApp modules for subdomain routing
All modules had getApiBase() matching wrong module names (e.g. /vote
instead of /rvote) and requiring /{space}/ prefix in the URL path.
On subdomains like jeff.rspace.online, the browser URL is /rfunds/...
not /jeff/rfunds/..., so the regex never matched.

New pattern: /^(\/[^/]+)?\/rmodule/ handles both:
- Subdomain: /rfunds/... → base = /rfunds
- Direct: /demo/rfunds/... → base = /demo/rfunds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 21:01:06 -08:00
..
folk-notes-app.ts fix: getApiBase() across all 16 rApp modules for subdomain routing 2026-03-02 21:01:06 -08:00
notes-demo.ts refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
notes.css feat: Tiptap rich text editor for rNotes — toolbar, slash commands, sync 2026-03-02 18:20:33 -08:00
slash-command.ts feat: Tiptap rich text editor for rNotes — toolbar, slash commands, sync 2026-03-02 18:20:33 -08:00