From b9c0eff69b3aa79ad306ebb33cf26e2063081a14 Mon Sep 17 00:00:00 2001 From: Ali BARIN Date: Tue, 20 May 2025 10:10:24 +0000 Subject: [PATCH] chore(web): update example environment variables --- .devcontainer/boot.sh | 3 ++- packages/web/.env-example | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/boot.sh b/.devcontainer/boot.sh index 15efc5f8..5dce07a8 100644 --- a/.devcontainer/boot.sh +++ b/.devcontainer/boot.sh @@ -39,7 +39,8 @@ rm -rf .env echo " PORT=$WEB_PORT -REACT_APP_BACKEND_URL=http://localhost:$BACKEND_PORT +VITE_BACKEND_URL=http://localhost:$BACKEND_PORT +VITE_BASE_URL=http://localhost:$PORT " >> .env echo "Installing web dependencies..." diff --git a/packages/web/.env-example b/packages/web/.env-example index d5663a32..af5dd0ba 100644 --- a/packages/web/.env-example +++ b/packages/web/.env-example @@ -1,4 +1,3 @@ PORT=3001 -REACT_APP_BACKEND_URL=http://localhost:3000 -# HTTPS=true -REACT_APP_BASE_URL=http://localhost:3001 +VITE_BACKEND_URL=http://localhost:3000 +VITE_BASE_URL=http://localhost:3001