Move /api/auth/status endpoint from app/server/ to server/ directory. Nuxt expects server API routes to be in /server/api/, not /app/server/api/. This fixes the issue where the endpoint was returning HTML instead of JSON.
Move /api/auth/status endpoint from app/server/ to server/ directory. Nuxt expects server API routes to be in /server/api/, not /app/server/api/. This fixes the issue where the endpoint was returning HTML instead of JSON.