Files
awoooi/apps/web
OG T 9a8f410f23
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
fix(web): PendingApprovalsCard 批准/拒絕補 CSRF Token — 修復 403
根因: fetch 沒帶 X-CSRF-Token header + credentials:include
     API 回 403 "CSRF token cookie missing"

修復: 加 useCSRF hook,sign/reject 請求帶 ...getHeaders() + credentials:include
     與 incident-card.tsx / openclaw-state-machine.tsx 同一模式

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 19:00:02 +08:00
..