- Add comprehensive debug logging to checkLoginStatus Strategy 1 - Enhanced authentication variable detection with detailed console output - Added debug logging for window.is_authenticated and window.user checks - Improved error visibility for authentication detection issues - Added health API endpoint for debugging and monitoring - Enhanced Dockerfile with better caching and debugging capabilities Authentication detection now shows detailed logs when checking: - window.is_authenticated variable presence and value - window.user object detection and structure - Helps identify why auth detection sees user data but doesn't return true
11 lines
226 B
JavaScript
11 lines
226 B
JavaScript
import { NextResponse } from 'next/server'
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({
|
|
status: 'healthy',
|
|
timestamp: new Date().toISOString(),
|
|
service: 'AI Trading Bot',
|
|
version: '1.0.0'
|
|
})
|
|
}
|