Skip to content

Commit 4be9619

Browse files
committed
Clean up environment files to remove obsolete relay URL configuration
- Remove REACT_APP_OWN_RELAY_URL from .env.production, .env.development, and .env.production.example - Remove REACT_APP_NOSTR_RELAY_URLS references from all environment files - Update comments to reflect that Nostr operations now use panel API - Simplifies environment configuration after removing direct relay connections
1 parent 2029fd3 commit 4be9619

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

.env.development

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ REACT_APP_ASSETS_BUCKET=http://localhost
44
REACT_APP_DEMO_MODE=false
55
REACT_APP_BASENAME=
66

7-
# Nostr relay configuration for profile fetching
8-
REACT_APP_OWN_RELAY_URL=ws://localhost:9001
9-
# REACT_APP_NOSTR_RELAY_URLS=wss://your-relay1.com,wss://your-relay2.com,wss://your-relay3.com
7+
# Nostr operations now use panel API - no relay URLs needed
108

119
# More info https://create-react-app.dev/docs/advanced-configuration
1210
ESLINT_NO_DEV_ERRORS=true

.env.production

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ PUBLIC_URL=
1313
# Asset serving configuration (optional - adjust for your domain)
1414
# REACT_APP_ASSETS_BUCKET=https://your-domain.com
1515

16-
# Nostr relay configuration for profile fetching
17-
REACT_APP_OWN_RELAY_URL=ws://localhost:9001
18-
# REACT_APP_NOSTR_RELAY_URLS=wss://your-relay1.com,wss://your-relay2.com
16+
# Nostr operations now use panel API - no relay URLs needed
1917

2018
# Development optimizations
2119
ESLINT_NO_DEV_ERRORS=true

.env.production.example

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ PUBLIC_URL=/panel
1111
# Asset serving configuration (optional - adjust for your domain)
1212
# REACT_APP_ASSETS_BUCKET=https://your-domain.com
1313

14-
# Nostr relay configuration for profile fetching
15-
# REACT_APP_OWN_RELAY_URL= # ✅ Auto-detected from current domain
16-
# REACT_APP_NOSTR_RELAY_URLS=wss://your-relay1.com,wss://your-relay2.com
14+
# Nostr operations now use panel API - no relay URLs needed
1715

1816
# Development optimizations
1917
ESLINT_NO_DEV_ERRORS=true

0 commit comments

Comments
 (0)