80f5cbaa28
The selfupdate routes were placed after the generic hasSuffix(path, "/update") stack case, which was catching /selfupdate/update before the specific case could match it. Moving the selfupdate cases to before all hasSuffix-based cases fixes the routing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>