You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: replace all hardcoded GraphQL endpoints with nginx proxy path
Fixed database admin page showing "Error" on all statistics by updating
all direct GraphQL endpoint calls to use nginx proxy path (/api/graphql).
Changes:
- apollo.ts: Updated getGraphQLUrl() and getWebSocketUrl() to use /api/graphql
- Admin.tsx: Fixed 9 fetch('/graphql') calls to use /api/graphql
- Backend.tsx: Fixed 7 fetch('/graphql') calls to use /api/graphql
- Signup.tsx: Fixed 1 fetch('/graphql') call to use /api/graphql
Testing:
- Added comprehensive admin-database-tab.spec.ts with 8 test cases
- Added test to PR validation suite at priority 9
- Test verifies correct API endpoint usage and stats display
- Added root-level playwright.config.ts for proper HTTPS testing
Total: 17 hardcoded endpoint instances fixed across 3 files
0 commit comments