- Add railway.json pointing to Dockerfile (explicit build config) - Add agentUrl to GfEnvironment interface - Dev: agentUrl = '/agent' (proxied through Angular dev server) - Prod: agentUrl = 'https://ghostfolio-agent-production.up.railway.app' - Inject GF_ENVIRONMENT into GfAiChatComponent constructor Co-authored-by: Cursor <cursoragent@cursor.com>