ci/woodpecker/push/woodpecker Pipeline failed
site/ has no build step (served as-is, no per-environment templating), so its three app links were hardcoded to https://app.diagrav.com/ in the markup — meaning staging.diagrav.com was sending visitors to the production app instead of staging-app.diagrav.com. Rewrites them at load time based on location.hostname instead of maintaining a second copy of the file; defaults to the production app host everywhere except the exact staging hostname, so production's own links are unaffected. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017DUU6CnxECCDeqDNYJgr5x