Commented out unused environment variables in .env.example: - VITE_MARKET_RELAYS (market uses VITE_NOSTR_RELAYS instead) - VITE_SUPPORT_NPUB (config.support.npub never consumed) - VITE_LIGHTNING_ENABLED (config.market.lightningEnabled never consumed) - VITE_MARKET_DEFAULT_CURRENCY (config.market.defaultCurrency never consumed) Added missing environment variables to .env.example: - VITE_APP_NAME (used in market module) - VITE_LNBITS_DEBUG (used in lnbits config) - VITE_WEBSOCKET_ENABLED (used in app config) Also commented out corresponding unused config in src/lib/config/index.ts: - MarketConfig.lightningEnabled and defaultCurrency - AppConfig.nostrclient (defined but never used) - AppConfig.support (never consumed) Removed legacy VITE_API_BASE_URL fallback from WalletWebSocketService.ts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
1.5 KiB
Text
38 lines
1.5 KiB
Text
# App Configuration
|
|
VITE_APP_NAME=MyApp
|
|
|
|
# Nostr Configuration
|
|
VITE_NOSTR_RELAYS=["wss://relay.damus.io","wss://relay.snort.social"]
|
|
VITE_ADMIN_PUBKEYS=["your-admin-pubkey-here"]
|
|
|
|
# API Configuration
|
|
VITE_LNBITS_BASE_URL=http://localhost:5000
|
|
VITE_API_KEY=your-api-key-here
|
|
VITE_LNBITS_DEBUG=false
|
|
VITE_WEBSOCKET_ENABLED=true
|
|
|
|
# Lightning Address Domain (optional)
|
|
# Override the domain used for Lightning Addresses
|
|
# If not set, domain will be extracted from VITE_LNBITS_BASE_URL
|
|
# Example: mydomain.com will show addresses as username@mydomain.com
|
|
VITE_LIGHTNING_DOMAIN=
|
|
|
|
# Push Notifications
|
|
VITE_VAPID_PUBLIC_KEY=your-vapid-public-key
|
|
VITE_PUSH_NOTIFICATIONS_ENABLED=true
|
|
|
|
# Support
|
|
# OBSOLETE: Not used in codebase - config.support.npub is never consumed
|
|
# VITE_SUPPORT_NPUB=your-support-npub
|
|
|
|
# Image Upload Configuration (pict-rs)
|
|
VITE_PICTRS_BASE_URL=https://img.mydomain.com
|
|
|
|
# Market Configuration
|
|
VITE_MARKET_NADDR=naddr1qqjxgdp4vv6rydej943n2dny956rwwf4943xzwfc95ekyd3evenrsvrrvc6r2qf8waehxw309akxucnfw3ejuct5d96xcctw9e5k7tmwdaehgunjv4kxz7f0v96xjmczyqrfrfkxv3m8t4elpe28x065z30zszaaqa4u0744qcmadsz3y50cjqcyqqq82scmcafla
|
|
# OBSOLETE: Not used in codebase - market uses VITE_NOSTR_RELAYS instead
|
|
# VITE_MARKET_RELAYS=["wss://relay.damus.io","wss://relay.snort.social","wss://nostr-pub.wellorder.net"]
|
|
# OBSOLETE: Not used in codebase - config.market.lightningEnabled is never consumed
|
|
# VITE_LIGHTNING_ENABLED=true
|
|
# OBSOLETE: Not used in codebase - config.market.defaultCurrency is never consumed
|
|
# VITE_MARKET_DEFAULT_CURRENCY=sat
|