Commit Graph

5 Commits

Author SHA1 Message Date
hosseintaromi dad0ff292d feat(orders): enhance order detail and list pages with improved data handling and UI updates 2025-09-26 12:16:58 +03:30
hosseintaromi bdfbef91ac fix(utils): remove withCredentials to fix CORS issue
- Remove withCredentials from axios config to prevent CORS errors
- API authentication will be handled via Authorization header
- Tested working with Postman curl command
2025-07-21 23:49:19 +03:30
hosseintaromi 2a5875fd40 fix(utils): fix APIUrlGenerator undefined base URL issue
- Replace import.meta.env.VITE_APP_BACKEND_BASE_URL with API_GATE_WAY constant
- Ensure API URLs are generated correctly without undefined segments
- Fix API endpoint URL construction
2025-07-21 23:36:13 +03:30
hosseintaromi 40b0e0153f refactor(utils): clean up HTTP service imports
- Remove unused AxiosResponse import
- Optimize TypeScript imports for better build performance
2025-07-18 14:03:09 +03:30
hosseintaromi 0d322f1767 feat(utils): add base HTTP service for API calls
- Add axios-based HTTP service with interceptors
- Add authentication header management
- Add APIUrlGenerator for dynamic URL building
- Support for all HTTP methods (GET, POST, PUT, DELETE, etc.)
- Error handling and automatic logout on 401/403
2025-07-18 13:06:32 +03:30