mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 04:57:15 -05:00
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:
@@ -24,7 +24,7 @@ ALGORITHM=HS256
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
REFRESH_TOKEN_EXPIRE_DAYS=7
|
||||
WALLET_MASTER_KEY=changeme-wallet-master-key
|
||||
ALLOWED_ORIGINS=https://blackroad.systems,https://www.blackroad.systems,https://os.blackroad.systems,https://core.blackroad.systems,https://api.blackroad.systems,https://blackroad-os-core-production.up.railway.app,http://localhost:3000,http://localhost:8000
|
||||
ALLOWED_ORIGINS=https://blackroad.systems,https://app.blackroad.systems,https://www.blackroad.systems,https://os.blackroad.systems,https://core.blackroad.systems,https://api.blackroad.systems,https://blackroad-operating-system-production.up.railway.app,https://blackroad-os-core-production.up.railway.app,http://localhost:3000,http://localhost:8000
|
||||
JWT_SECRET=changeme-jwt-secret
|
||||
SESSION_SECRET=changeme-session-secret
|
||||
NEXTAUTH_SECRET=changeme-nextauth-secret
|
||||
|
||||
Reference in New Issue
Block a user