chore(debug): debugging metadata contoller
All checks were successful
Release to Staging / build_and_release (push) Successful in 43s

This commit is contained in:
daniyal 2024-08-09 15:50:34 +05:00
parent d451eb129d
commit 0668226df1

View File

@ -23,7 +23,19 @@ export class MetadataController {
import.meta.env.VITE_APP_RELAY import.meta.env.VITE_APP_RELAY
] ]
}) })
this.ndk.connect() this.ndk
.connect()
.then(() => {
console.log('NDK connected')
})
.catch((err) => {
console.log('error in ndk connection', err)
})
console.log(
'import.meta.env.VITE_APP_RELAY :>> ',
import.meta.env.VITE_APP_RELAY
)
this.adminNpubs = import.meta.env.VITE_ADMIN_NPUBS.split(',') this.adminNpubs = import.meta.env.VITE_ADMIN_NPUBS.split(',')
} }