Retires REACT_APP_URL/URL2/URL3 in favor of REACT_APP_DOORMILE_URL across every page (orders, deliveries, riders, tenants, pricing, profile, reports, dispatch). Fixes several field-mapping and envelope-check bugs found along the way, most notably that /admin/milers/:id routes (block, assign-vehicle, edit, notify) key off milerprofileid, not userid, and that a miler's real fields are phone/availabilitystatus/displayname, not contactno/status/ firstname+lastname (confirmed against a live read-only session). Also fixes several silent-failure bugs uncovered during that audit: order creation and order cancellation showed a success toast but gave no feedback at all on failure (createorder1.js had a dead notifyadmin() call that left the loading spinner stuck forever on every failed submit), and Tenants.js's pricing/profile updates never surfaced a failed response to the operator. The AI dispatch optimiser (routes.workolik.com/routemate.workolik.com) and its jupiter.nearle.app delivery-commit call remain untouched by design — separate solver service with no equivalent in the new API.
32 lines
774 B
Bash
32 lines
774 B
Bash
REACT_APP_VERSION=v2.1.0
|
|
GENERATE_SOURCEMAP = false
|
|
|
|
## Backend API URL
|
|
REACT_APP_API_URL=https://mock-data-api-nextjs.vercel.app/
|
|
|
|
REACT_APP_DOORMILE_URL=https://api.doormile.com/api/v1
|
|
|
|
REACT_APP_RIDER_ACCESS_ID=AAAAILMpCEU:APA91bEavuOllBI6sFgYtxXAgNmAVwNA-MnCMHLGlR4_t7UqpLajAkdn3T0CZr_zaLBknLyim9ytFLMZgbeXmKqTad_PKCbqlYjHpaizVrLXtecxqyEy4UktIacK2UvHVUATHL-7VQQk
|
|
|
|
## Firebase - Google Auth
|
|
|
|
REACT_APP_FIREBASE_API_KEY=
|
|
REACT_APP_FIREBASE_AUTH_DOMAIN=
|
|
REACT_APP_FIREBASE_PROJECT_ID=
|
|
REACT_APP_FIREBASE_STORAGE_BUCKET=
|
|
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=
|
|
REACT_APP_FIREBASE_APP_ID=
|
|
REACT_APP_FIREBASE_MEASUREMENT_ID=
|
|
|
|
## AWS
|
|
|
|
REACT_APP_AWS_POOL_ID=
|
|
REACT_APP_AWS_APP_CLIENT_ID=
|
|
|
|
## Auth0
|
|
|
|
REACT_APP_AUTH0_CLIENT_ID=
|
|
REACT_APP_AUTH0_DOMAIN=
|
|
|
|
DISABLE_ESLINT_PLUGIN=true
|