add env variable for lightning domain leveraging redirect capability
This commit is contained in:
parent
c90def94a7
commit
92176bea83
3 changed files with 14 additions and 5 deletions
|
|
@ -9,6 +9,7 @@ interface NostrConfig {
|
|||
interface ApiConfig {
|
||||
baseUrl: string
|
||||
key: string
|
||||
lightningDomain?: string // Optional override for Lightning Address domain
|
||||
}
|
||||
|
||||
interface PushConfig {
|
||||
|
|
@ -56,7 +57,8 @@ export const config: AppConfig = {
|
|||
},
|
||||
api: {
|
||||
baseUrl: import.meta.env.VITE_LNBITS_BASE_URL || '',
|
||||
key: import.meta.env.VITE_API_KEY || ''
|
||||
key: import.meta.env.VITE_API_KEY || '',
|
||||
lightningDomain: import.meta.env.VITE_LIGHTNING_DOMAIN // Optional override for Lightning Address domain
|
||||
},
|
||||
push: {
|
||||
vapidPublicKey: import.meta.env.VITE_VAPID_PUBLIC_KEY || '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue