- Add getCurrentUserFromRequest() to auth-server.ts (checks cookies first, then Authorization header)
- Update all 34 proxy routes: getCurrentUser(req.headers.get('authorization')) → getCurrentUserFromRequest(req)
- Add createProxyFetch() shared helper in lib/proxy-fetch.ts (injects auth + product-id headers)
- Update 15 admin pages: replace inline fetch helpers with createProxyFetch
- Root cause: newer pages used bare fetch() without Authorization headers, causing 401s on all proxy routes
|
||
|---|---|---|
| .. | ||
| AI_IDE_CHAT_HISTORY/WINDSURF | ||
| dashboard | ||
| docs | ||
| OPEN_CLAW | ||
| oss_llm | ||
| VOICEBOX | ||
| windows_specific | ||
| .gitignore | ||
| download-tts-models.sh | ||
| LOCAL_LLMs_setup_mac_m4_48gb.md | ||
| setup-tts.sh | ||
| start-dashboard.sh | ||
| test_orpheus_tts.py | ||
| test_qwen_tts.py | ||