- Added ImageUpload and ImageDisplay components for handling image uploads and displaying images, respectively. - Introduced ImageUploadService to manage image uploads, including validation, processing, and deletion. - Updated app configuration to include image upload settings and integrated the service into the dependency injection container. - Enhanced the .env.example file to include image upload configuration options. - Provided a comprehensive README for the new components, detailing usage and integration examples. These changes significantly enhance the application's capability to manage image uploads, improving user experience and flexibility in handling images.
23 lines
879 B
Text
23 lines
879 B
Text
# 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
|
|
|
|
# Push Notifications
|
|
VITE_VAPID_PUBLIC_KEY=your-vapid-public-key
|
|
VITE_PUSH_NOTIFICATIONS_ENABLED=true
|
|
|
|
# Support
|
|
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
|
|
VITE_MARKET_RELAYS=["wss://relay.damus.io","wss://relay.snort.social","wss://nostr-pub.wellorder.net"]
|
|
VITE_LIGHTNING_ENABLED=true
|
|
VITE_MARKET_DEFAULT_CURRENCY=sat
|