From 3435a2cbb92466541df95ce4a6500b284f01b2ae Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 2 Feb 2026 17:22:23 -0600 Subject: [PATCH] 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 --- frontend/.env.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/.env.example b/frontend/.env.example index 4a33edf..5a0bee0 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -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