- Add getApiBaseUrl() helper function to get base URL for static assets - Update ReportDetailModal to use dynamic API base URL - Create .env.production with correct production API URL (https://litter-api.psbailey.uk) - Update all API service defaults to use port 3005 - Images will now load correctly in both dev and production
5 lines
224 B
Plaintext
5 lines
224 B
Plaintext
# Production Environment Variables
|
|
# Port 3005 is proxied to https://litter-api.psbailey.uk/
|
|
VITE_API_BASE_URL=https://litter-api.psbailey.uk/api
|
|
VITE_CLERK_PUBLISHABLE_KEY=pk_live_Y2xlcmsubGl0dGVyc2NvdXRzLnBzYmFpbGV5LnVrJA
|