Replace all instances of process.env.NEXT_PUBLIC_API_URL with API_BASE_URL constant for consistency and to ensure the API URL is properly defined at runtime. Files updated: - app/admin/marketing-data/page.tsx - app/admin/tirages/page.tsx - app/employe/dashboard/page.tsx - app/employe/gains-client/page.tsx - app/employe/historique/page.tsx - components/admin/TicketManagement.tsx This fixes the "undefined" API URL issue that was preventing API calls from working correctly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dashboard | ||
| lots | ||
| marketing-data | ||
| tickets | ||
| tirages | ||
| utilisateurs | ||
| layout.tsx | ||
| page.tsx | ||