a47cf964e5
After restore, the setup server (port 8081) exits and the main controller restarts on port 8080. waitForRestart() now polls port 8080 using no-cors mode and redirects there when it responds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>