doxa-maps-cdn/server/api
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
..
admin replace deepl with llm translation via openrouter 2026-09-07 16:30:48 +01:00
auth Change cookie same site method to allow oauth 2026-05-04 13:15:35 +01:00
maps 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
pages Let categories have child categories for nested pages. (#6) 2026-05-21 06:00:54 -05:00
people-groups Update prayer coverage threshold and status display (#15) 2026-06-17 05:04:19 -05:00
profile User invitation (#3) 2026-04-28 06:26:59 -05:00
settings Add settings table and setting to disable registration 2026-04-28 15:17:26 +01:00
adopt.post.ts phase 4 2026-04-21 14:24:53 +01:00
contact.post.ts phase 3 2026-04-21 13:58:07 +01:00
countries.get.ts Replace country pages with region dashboards (#23) 2026-09-07 11:49:24 +01:00
regions.get.ts Replace country pages with region dashboards (#23) 2026-09-07 11:49:24 +01:00