Files
firefrost-services/services
Claude (Chronicler #57) b41acef2a3 fix: admin panel route returning JSON instead of rendering HTML
ISSUE:
Admin panel at /admin returned JSON instead of EJS template
User authenticated successfully but saw raw data

FIX:
Changed res.json() to res.render('admin/dashboard')
Added user, mappings, csrfToken to template context

FILES MODIFIED:
- services/arbiter-3.0/src/routes/admin.js (5 lines changed)

TESTING:
Visit /admin after Discord OAuth, should show HTML UI

Signed-off-by: Claude (Chronicler #57) <claude@firefrostgaming.com>
2026-04-03 17:12:17 +00:00
..