Update frontend .env.example with clearer HTTPS guidance

Added note about using relative URLs for production to avoid mixed
content errors when served over HTTPS.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael 2026-02-02 17:22:23 -06:00
parent ce884adb27
commit 3435a2cbb9

View file

@ -1,14 +1,14 @@
# API Configuration
# For production with Apache reverse proxy:
# IMPORTANT: Use relative URLs for production (avoids mixed content errors with HTTPS)
REACT_APP_API_URL=/apac-ops-bot-back/api/v1
REACT_APP_WS_URL=/apac-ops-bot-back/ws
# For local development without proxy:
# REACT_APP_API_URL=http://localhost:8048/api/v1
# REACT_APP_WS_URL=ws://localhost:8048/ws
# Azure AD / MSAL Configuration
REACT_APP_AZURE_CLIENT_ID=your-client-id-here
REACT_APP_AZURE_TENANT_ID=your-tenant-id-here
# For production, use your actual HTTPS URL:
# REACT_APP_AZURE_REDIRECT_URI=https://ai-sandbox.oliver.solutions/apac-ops-bot
REACT_APP_AZURE_REDIRECT_URI=http://localhost:3000
# Application Configuration