From 8704e37faaa00e63adb4c507d13a3e87dfe6820a Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Thu, 12 Feb 2026 19:03:26 +0800 Subject: [PATCH] fix: clarify dev gateway is hardcoded in root package.json Co-Authored-By: Claude Opus 4.5 --- apps/desktop/.env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/.env.example b/apps/desktop/.env.example index 2dadba50..c3483547 100644 --- a/apps/desktop/.env.example +++ b/apps/desktop/.env.example @@ -3,9 +3,9 @@ # ============================================================================= # # Local Development: -# `pnpm dev` connects to dev gateway by default (GATEWAY_URL set in root package.json) +# `pnpm dev` connects to dev gateway by default (GATEWAY_URL hardcoded in root package.json) # No .env file needed for local development. -# To override: GATEWAY_URL=http://localhost:3000 pnpm dev +# To use local gateway instead: GATEWAY_URL=http://localhost:3000 pnpm dev # # Production Build: # `pnpm build` uses .env.production automatically @@ -21,12 +21,12 @@ # # MAIN_VITE_GATEWAY_URL - WebSocket Gateway # Hub connects to Gateway for remote device access (QR code pairing) -# Dev: see GATEWAY_URL in root package.json +# Dev: hardcoded in root package.json (GATEWAY_URL env var in `dev` script) # Prod: see .env.production # # MAIN_VITE_MULTICA_URL - REST API Server # HTTP requests for authentication, auto-updates, user data sync -# Dev: (not yet configured) +# Dev: not yet used # Prod: see .env.production # # =============================================================================