@@ -175,9 +175,9 @@ Create `.env.production` for production builds:
175175# Demo mode (set to false for production)
176176REACT_APP_DEMO_MODE=false
177177
178- # Explicit service URLs (required)
179- REACT_APP_WALLET_BASE_URL=http://localhost:9003
180- REACT_APP_OWN_RELAY_URL=ws://localhost:9001
178+ # Service URLs
179+ REACT_APP_WALLET_BASE_URL=http://localhost:9003 # Optional - leave empty to disable wallet features
180+ REACT_APP_OWN_RELAY_URL=ws://localhost:9001 # Required for profile fetching
181181
182182# Router configuration (empty for direct access)
183183REACT_APP_BASENAME=
@@ -193,7 +193,8 @@ TSC_COMPILE_ON_ERROR=true
193193
194194
195195** 🎯 Key Requirements** :
196- - ✅ ** Explicit Service URLs Required** - Wallet and relay URLs must be configured in environment variables
196+ - ✅ ** Relay URL Required** - REACT_APP_OWN_RELAY_URL must be configured for profile fetching
197+ - ✅ ** Wallet URL Optional** - REACT_APP_WALLET_BASE_URL can be empty to disable wallet features
197198- ✅ ** Panel Routing Auto-Detection** - Panel paths (REACT_APP_BASENAME/PUBLIC_URL) can be auto-detected
198199- ✅ ** Build-Time Configuration** - Service URLs are baked into the JavaScript bundle during build
199200- ✅ ** Simple Deployment** - No reverse proxy needed for basic functionality
@@ -262,11 +263,13 @@ Controls the React app's routing base path:
262263** Note** : For the current working setup, leave this empty (` REACT_APP_BASENAME= ` ) since the panel is served from the root path.
263264
264265### Service URLs
265- ** 🎯 Explicit Configuration Required ** : Service URLs must be explicitly configured :
266- - ** Wallet Service** : ` REACT_APP_WALLET_BASE_URL=http://localhost:9003 ` (required )
267- - ** Relay WebSocket** : ` REACT_APP_OWN_RELAY_URL=ws://localhost:9001 ` (required)
266+ ** 🎯 Configuration Requirements ** :
267+ - ** Wallet Service** : ` REACT_APP_WALLET_BASE_URL=http://localhost:9003 ` (optional - leave empty to disable wallet features )
268+ - ** Relay WebSocket** : ` REACT_APP_OWN_RELAY_URL=ws://localhost:9001 ` (required for profile fetching )
268269- ** Panel API** : Auto-detected from current origin (no configuration needed)
269270
271+ ** Note** : When wallet URL is not configured, send/receive buttons will show a helpful message about rebuilding with wallet configuration.
272+
270273** Manual Override** (development only):
271274- ** REACT_APP_BASE_URL** : Panel API endpoint (dev mode only)
272275- ** REACT_APP_WALLET_BASE_URL** : Wallet service endpoint (dev mode only)
0 commit comments