rspace-online/backlog/tasks/task-51.1 - Phase-2-Fix-ext...

42 lines
1.3 KiB
Markdown

---
id: TASK-51.1
title: 'Phase 2: Fix external service URLs (analytics, maps sync, Twenty CRM)'
status: Done
assignee: []
created_date: '2026-02-25 07:47'
updated_date: '2026-03-14 21:55'
labels:
- infrastructure
- domains
- migration
dependencies: []
parent_task_id: TASK-51
priority: high
status_history:
- status: Done
timestamp: '2026-03-14 21:55'
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Update hardcoded references to standalone domains used as service endpoints. Must be done BEFORE Phase 1 redirects to avoid breaking analytics, maps sync, and network module.
Files: website/index.html, website/create-space.html (collect.js), docker-compose.yml (MAPS_SYNC_URL, TWENTY_API_URL), modules/maps/mod.ts, modules/network/mod.ts.
DECISION NEEDED: Is Twenty CRM (rnetwork.online) a separate container or proxied through network module?
<!-- SECTION:DESCRIPTION:END -->
## Acceptance Criteria
<!-- AC:BEGIN -->
- [ ] #1 Analytics collect.js loads from relative path on rspace.online
- [ ] #2 Maps sync WebSocket connects via new URL
- [ ] #3 Network module reaches Twenty CRM without depending on rnetwork.online domain
<!-- AC:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
External URLs already fixed - analytics proxied via /collect.js, no hardcoded domains
<!-- SECTION:NOTES:END -->