From 6b664a00d1a801cd6e83173b1763e284dfb3b35f Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Tue, 3 Dec 2024 21:49:43 +0530 Subject: [PATCH] feat: add PUBLIC_URL variable --- ENVEXAMPLE | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ENVEXAMPLE b/ENVEXAMPLE index a387785f..0153f820 100644 --- a/ENVEXAMPLE +++ b/ENVEXAMPLE @@ -14,9 +14,10 @@ MINIO_SECRET_KEY=minio_secret_key # MinIO secret key REDIS_HOST=redis # Redis host in Docker REDIS_PORT=6379 # Redis port (default: 6379) -# Backend URLs -BACKEND_URL=http://localhost:8080 # Internal URL for backend service -VITE_BACKEND_URL=http://localhost:8080 # URL used by frontend to connect to backend +# Backend and Frontend URLs +BACKEND_URL=http://localhost:8080 # URL on which the backend runs. You can change it based on your needs. +VITE_BACKEND_URL=http://localhost:8080 # URL used by frontend to connect to backend. It should always have the same value as BACKEND_URL +PUBLIC_URL=http://localhost:5173 # URL used by backend to connect to frontend. You can change it based on your needs. # Optional Google OAuth settings for Google Sheet Integration GOOGLE_CLIENT_ID=your_google_client_id