1.3 KiB
1.3 KiB
| id | title | status | assignee | created_date | updated_date | labels | dependencies | parent_task_id | priority | status_history | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-51.2 | Phase 1: Convert standalone domain rewrite to 301 redirects | Done | 2026-02-25 07:47 | 2026-03-14 21:55 |
|
|
TASK-51 | high |
|
Description
Change server/index.ts standalone domain handling from silent rewrite to 301 redirect for HTML page loads. Keep API/WS rewriting so running apps don't break. Traefik labels stay — domains must still route to the container to serve the 301.
Target: server/index.ts lines 482-521. Redirect HTML page loads, continue proxying /api/* and /ws/* requests. keepStandalone domains unaffected.
Acceptance Criteria
- #1 rmaps.online/some-room returns 301 to rspace.online/demo/maps/some-room
- #2 rbooks.online/ returns 301 to rspace.online/demo/books
- #3 API and WebSocket requests still proxied without redirect
- #4 keepStandalone domains unaffected
Implementation Notes
Already implemented: 301 redirects in server/index.ts for all 25 standalone domains