mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 00:57:12 -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:
@@ -30,7 +30,7 @@ class Settings(BaseSettings):
|
||||
|
||||
# CORS
|
||||
# Include production domains by default to ensure Railway deployments work
|
||||
ALLOWED_ORIGINS: str = "https://blackroad.systems,https://www.blackroad.systems,https://os.blackroad.systems,https://blackroad-operating-system-production.up.railway.app,http://localhost:3000,http://localhost:8000"
|
||||
ALLOWED_ORIGINS: str = "https://blackroad.systems,https://app.blackroad.systems,https://www.blackroad.systems,https://os.blackroad.systems,https://blackroad-operating-system-production.up.railway.app,http://localhost:3000,http://localhost:8000"
|
||||
|
||||
@property
|
||||
def allowed_origins_list(self) -> List[str]:
|
||||
|
||||
Reference in New Issue
Block a user