Commit Graph

11 Commits

Author SHA1 Message Date
g
5f1e294091 Add pagination to admin user, vendor, and ban lists
Introduces pagination controls and server-side paginated fetching for blocked users, users, and vendors in the admin dashboard. Improves error handling in server API responses and validates order ID in OrderDetailsModal. Updates git-info.json with latest commit metadata.
2025-12-31 05:46:24 +00:00
NotII
928d94cecd Update server-api.ts 2025-10-30 23:35:21 +00:00
NotII
57c2fbdf50 Add CapRover deployment fix and improve env var handling
Added CAPROVER-DEPLOYMENT-FIX.md with instructions for required environment variables to prevent 500 errors. Improved validation and fallback logic for SERVER_API_URL and API_BASE_URL in server-api.ts, route.ts, and next.config.mjs to handle missing or invalid values gracefully and log warnings instead of crashing.
2025-09-01 16:31:12 +01:00
NotII
29ec1be68c Refactor API URLs and add environment config example
Replaces hardcoded production API URLs with localhost defaults for local development in both server and client code. Updates Dockerfile to require API URLs via deployment environment variables. Improves ChatTable to use a batch endpoint for chats and unread counts, with backward compatibility. Adds an env.example file to document required environment variables. Updates next.config.mjs to use environment variables for backend API rewrites and image domains.
2025-09-01 15:35:10 +01:00
NotII
236a676ac5 holy fkn airball 2025-06-29 04:13:50 +01:00
NotII
1b5f1d4b16 Update server-api.ts 2025-04-09 02:40:02 +01:00
NotII
db26544926 fix 2025-04-08 23:47:09 +01:00
NotII
054ea4802d fk 2025-04-08 02:10:47 +01:00
NotII
2011a33c4d fix 2025-04-08 01:54:20 +01:00
NotII
c89552197d weird fkn globe 2025-04-08 01:46:13 +01:00
NotII
2f48ee38c2 weewoo 2025-04-07 19:25:24 +01:00