[claude] Exclude /api paths from tower SPA fallback (#36) #81
Reference in New Issue
Block a user
Delete Branch "claude/issue-36"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #36
Summary
/tower/*splatExpress 5 catch-all route was servingindex.htmlfor all sub-paths, including/tower/api/wswsserver, leaving the Workshop stuck in a connecting/offline statenext()for any path starting withapi/under/tower/, allowing the request to fall through to the API router or WebSocket serverTest plan
pnpm run typecheckpassespnpm run lintpasses (no new warnings)/api/ws/tower/settings