External browsers were hitting localhost:5000 instead of going through nginx. VITE_API_BASE_URL_BACKEND is now empty so all API calls use relative /api/ paths that nginx proxies to the backend. Also adds https://communitydentistsoflowell.mydentalofficemanagement.com to FRONTEND_URLS for CORS. Updated .env.example to match so setup from template doesn't silently revert this fix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 lines
70 B
Plaintext
Executable File
4 lines
70 B
Plaintext
Executable File
NODE_ENV=development
|
|
HOST=0.0.0.0
|
|
PORT=3000
|
|
VITE_API_BASE_URL_BACKEND= |