wiz
This commit is contained in:
parent
9c1dd8db6e
commit
160ff502d3
2 changed files with 4 additions and 1 deletions
|
|
@ -43,6 +43,8 @@ export class Wizard {
|
|||
try {
|
||||
const apps = await this.storage.applicationStorage.GetApplications()
|
||||
const appNamesList = apps.map(app => app.name).join(', ')
|
||||
const relays = this.settings.nostrRelaySettings ? this.settings.nostrRelaySettings.relays : [];
|
||||
const relayUrl = (relays && relays.length > 0) ? relays[0] : '';
|
||||
return {
|
||||
admin_npub: this.adminManager.GetAdminNpub(),
|
||||
http_url: this.settings.serviceUrl,
|
||||
|
|
@ -53,7 +55,7 @@ export class Wizard {
|
|||
relays: this.relays,
|
||||
watchdog_ok: false,
|
||||
source_name: appNamesList || this.settings.defaultAppName,
|
||||
relay_url: this.settings.nostrRelaySettings.relays[0] || '',
|
||||
relay_url: relayUrl,
|
||||
automate_liquidity: this.settings.liquiditySettings.liquidityProviderPub !== 'null',
|
||||
push_backups_to_nostr: this.settings.pushBackupsToNostr,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
<div class="checkbox" style="margin-top: 12px">
|
||||
<input type="checkbox" id="customCheckbox" />
|
||||
<div class="checkbox-shape"></div>
|
||||
<label for="customCheckbox">
|
||||
Use the default managed relay service and auto-pay 1000 sats
|
||||
per month to support developers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue