The root / endpoint in main.py was conflicting with the HTML endpoint in auth.router, causing the homepage to return JSON instead of rendering the HTML dashboard. Moved API info to /api to allow auth.router to properly handle / and /login pages.
The root / endpoint in main.py was conflicting with the HTML endpoint in auth.router, causing the homepage to return JSON instead of rendering the HTML dashboard. Moved API info to /api to allow auth.router to properly handle / and /login pages.