rspace-online/modules/rcart/components
Jeff Emmett 4a54e6af16 fix: enforce subdomain routing — spaces are subdomains, never path segments
Audit and fix ~60 violations across 47 files where URLs were constructed
as /{space}/moduleId instead of /moduleId (subdomain provides the space).

- Add getModuleApiBase() helper to shared/url-helpers.ts
- Fix client components: use getModuleApiBase() for fetch URLs,
  rspaceNavUrl() for navigation
- Fix server routes: use c.get("isSubdomain") for redirects and
  JSON response URLs
- Fix OAuth callbacks (notion, google, clickup): subdomain-aware redirects
- Fix email notification URLs (rvote): use {space}.rspace.online format
- Fix webhook registration (rtasks/clickup): subdomain-aware endpoint URL
- Replace broken #getSpaceSlug() methods in folk-feed, folk-splat
- Replace NODE_ENV checks with proper isSubdomain checks (rdata, rnetwork)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 14:09:53 -07:00
..
cart-demo.ts refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
cart.css fix(layout): viewport-filling rApp layout — eliminate body scroll 2026-03-31 10:57:09 -07:00
folk-cart-shop.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
folk-group-buy-page.ts Fix mobile layout across all rcart pages and remove duplicate nav 2026-03-12 22:50:21 +00:00
folk-payment-page.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
folk-payment-request.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
folk-payments-dashboard.ts Fix mobile layout across all rcart pages and remove duplicate nav 2026-03-12 22:50:21 +00:00