feat: enhance TradingView authentication debugging
- 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
This commit is contained in:
10
app/api/health/route.js
Normal file
10
app/api/health/route.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user