- Changed useExport.ts to import and use axiosInstance from api.ts - This ensures requests go to port 8918 (backend) not 8919 (frontend) - Removed manual token handling (axiosInstance interceptor handles it) - Removed /api prefix from paths (axiosInstance baseURL has the full URL) - Exported axiosInstance from api.ts for reuse in other modules - Fixes 404 errors caused by requests routing to frontend instead of backend
3.3 KiB
3.3 KiB