Fix domain configuration for app.blackroad.systems and blackroad.systems

Updates:
- Add app.blackroad.systems to ALLOWED_ORIGINS in both .env.example and config.py
- Add blackroad-operating-system-production.up.railway.app to ALLOWED_ORIGINS
- Update DNS.md to reflect current domain routing (both root and app subdomains point to same service)
- Ensures CORS works correctly for all production domains

This fixes CORS issues when accessing the application via app.blackroad.systems or blackroad.systems
on the Railway project 'gregarious-wonder' (blackroad-operating-system-production service).
This commit is contained in:
Claude
2025-11-20 21:28:34 +00:00
parent 2c41a2d122
commit f9e1d7234e
3 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ All domains are configured in Cloudflare with CNAME records pointing to Railway
| **core** | 9gw4d0h2.up.railway.app | Core API | Core backend services, auth, blockchain |
| **api** | ac7bx15h.up.railway.app | Public API | Public-facing API gateway |
| **app** | blackroad-operating-system-production.up.railway.app | OS Shell | Main operating system interface |
| **@ (root)** | kng9hpna.up.railway.app | Root Service | Domain root redirect |
| **@ (root)** | blackroad-operating-system-production.up.railway.app | Root Service | Domain root - points to main OS interface |
| **console** | qqr1r4hd.up.railway.app | Prism Console | AI orchestration console |
| **docs** | 2izt9kog.up.railway.app | Documentation | API docs, guides, references |
| **os** | vtrb1hrx.up.railway.app | OS Interface | Operating system UI |
@@ -112,9 +112,9 @@ All domains are configured in Cloudflare with CNAME records pointing to Railway
- **Purpose**: OS interface alternative endpoint
### Service: blackroad-os-root-domain
- **Railway URL**: kng9hpna.up.railway.app
- **Railway URL**: blackroad-operating-system-production.up.railway.app
- **Cloudflare DNS**: blackroad.systems (root)
- **Purpose**: Domain root service
- **Purpose**: Domain root service - redirects to main OS interface
---