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>
11 lines
427 B
Bash
Executable File
11 lines
427 B
Bash
Executable File
NODE_ENV="development"
|
|
HOST=0.0.0.0
|
|
PORT=5000
|
|
FRONTEND_URLS=http://localhost:3000,http://communitydentistsoflowell.mydentalofficemanagement.com,https://communitydentistsoflowell.mydentalofficemanagement.com
|
|
SELENIUM_AGENT_BASE_URL=http://localhost:5002
|
|
JWT_SECRET = 'dentalsecret'
|
|
DB_HOST=localhost
|
|
DB_USER=postgres
|
|
DB_PASSWORD=mypassword
|
|
DB_NAME=dentalapp
|
|
DATABASE_URL=postgresql://postgres:mypassword@localhost:5432/dentalapp |