Frontend Upload Improvements

Solution: Updated frontend/src/components/ComprehensiveImportWizard.js:
  - Increased timeout from 30s to 120s for large file uploads + R2 storage
  - Added console error logging for debugging

Login Session Timeout Fix

1. frontend/src/utils/api.js
  - Added BASENAME constant from environment variable
  - Updated the 401 redirect to use ${BASENAME}/login?session=expired instead of just /login?session=expired

  2. frontend/src/pages/Login.js
  - Added basename constant from environment variable
  - Updated URL cleanup to use ${basename}/login instead of just /login
This commit is contained in:
2026-02-04 22:52:09 +07:00
parent 68fc34d0a5
commit 08c8dd3913
6 changed files with 2613 additions and 18 deletions

View File

@@ -1,3 +1,3 @@
REACT_APP_BACKEND_URL=http://localhost:8000
REACT_APP_BASENAME=/membership
PUBLIC_URL=/membership
REACT_APP_BASENAME=/
PUBLIC_URL=/