mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-29 20:11:04 +08:00
When accessing the dashboard remotely (--host 0.0.0.0), all API calls returned 401 because the frontend never acquired an auth_token cookie. Added initializeAuth() that fetches /api/auth/token before React renders, so the browser has the cookie before any TanStack Query hooks fire. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>