Skip to content

Commit 76762dc

Browse files
committed
fix: Add REACT_APP_BASE_URL to .env.production and fix port
- Add missing REACT_APP_BASE_URL line to .env.production - Fix .env.development port to use web port (base + 2) - Build scripts will auto-update these based on config.yaml
1 parent 46a5617 commit 76762dc

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.env.development

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
REACT_APP_BASE_URL=http://localhost:3002
1+
REACT_APP_BASE_URL=http://localhost:4413
22
REACT_APP_WALLET_BASE_URL=http://localhost:9003
33
REACT_APP_ASSETS_BUCKET=http://localhost
44
REACT_APP_DEMO_MODE=false
55
REACT_APP_BASENAME=
66
# Nostr operations now use panel API - no relay URLs needed
7-
87
# More info https://create-react-app.dev/docs/advanced-configuration
98
ESLINT_NO_DEV_ERRORS=true
109
TSC_COMPILE_ON_ERROR=true

.env.production

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Production Environment Configuration
22
# Panel integrated into relay server
33

4+
# Base URL for API calls (auto-updated by build script based on config.yaml port + 2)
5+
REACT_APP_BASE_URL=http://localhost:9002
6+
47
# Demo mode (set to false for production)
58
REACT_APP_DEMO_MODE=false
69

0 commit comments

Comments
 (0)