chore: fix workflow
All checks were successful
Release to Staging / build_and_release (push) Successful in 46s
All checks were successful
Release to Staging / build_and_release (push) Successful in 46s
This commit is contained in:
parent
f1f75a42df
commit
9e4b9472ee
@ -22,8 +22,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Create .env File
|
- name: Create .env File
|
||||||
run: |
|
run: |
|
||||||
echo "VITE_APP_RELAY=${{ vars.VITE_APP_RELAY }}" > .env
|
echo "VITE_APP_RELAY=${{ vars.VITE_APP_RELAY }}" >> .env
|
||||||
echo "VITE_ADMIN_NPUBS=${{ vars.VITE_ADMIN_NPUBS }}" > .env
|
echo "VITE_ADMIN_NPUBS=${{ vars.VITE_ADMIN_NPUBS }}" >> .env
|
||||||
|
cat .env
|
||||||
|
|
||||||
- name: Create Build
|
- name: Create Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
@ -15,12 +15,6 @@ export class MetadataController {
|
|||||||
public adminRelays = new Set<string>()
|
public adminRelays = new Set<string>()
|
||||||
|
|
||||||
private constructor() {
|
private constructor() {
|
||||||
console.log(
|
|
||||||
'import.meta.env.VITE_APP_RELAY :>> ',
|
|
||||||
import.meta.env.VITE_APP_RELAY
|
|
||||||
)
|
|
||||||
|
|
||||||
try {
|
|
||||||
this.ndk = new NDK({
|
this.ndk = new NDK({
|
||||||
explicitRelayUrls: [
|
explicitRelayUrls: [
|
||||||
'wss://user.kindpag.es',
|
'wss://user.kindpag.es',
|
||||||
@ -29,11 +23,6 @@ export class MetadataController {
|
|||||||
import.meta.env.VITE_APP_RELAY
|
import.meta.env.VITE_APP_RELAY
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
} catch (error) {
|
|
||||||
throw `Error occurred in initializing ndk instance`
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log('this.ndk :>> ', this.ndk)
|
|
||||||
|
|
||||||
this.ndk
|
this.ndk
|
||||||
.connect()
|
.connect()
|
||||||
|
Loading…
Reference in New Issue
Block a user