doxa-maps-cdn/server
swift-river542 c9ca2da642 Make map share links host-agnostic, add CORS to the token endpoint, align Mapbox GL to v3.24.0
- The Share button now derives embed URLs from where the bundle is actually hosted
  (profile-config.shareUrl -> embedBaseUrl -> window.MAP_EMBED_BASE_URL -> the bundle's own
  script URL), so generated links work on localhost, on doxa.life and on any CDN
- Generated map pages try token endpoints in order (override -> https://doxa.life/api/maps/token
  -> same-origin /api/maps/token) instead of failing on a single URL
- GET /api/maps/token sends Access-Control-Allow-Origin: * so map pages hosted on another
  origin can fetch a token
- useDoxaMap loads mapbox-gl v3.24.0 to match the bundles
- Refresh the doxa-maps drop-in: upg-100 combined map+lists page, share toolbar on every map,
  shared legend radius token
2026-09-16 11:45:59 -05:00
..
api Make map share links host-agnostic, add CORS to the token endpoint, align Mapbox GL to v3.24.0 2026-09-16 11:45:59 -05:00
database replace deepl with llm translation via openrouter 2026-09-07 16:30:48 +01:00
mcp replace deepl with llm translation via openrouter 2026-09-07 16:30:48 +01:00
plugins fix mcp crash loop from node-mock-http mock socket missing destroy() 2026-06-03 14:46:15 +01:00
services replace deepl with llm translation via openrouter 2026-09-07 16:30:48 +01:00
utils replace mailgun with sendgrid for transactional email 2026-09-15 11:16:44 +01:00