Skip to content

Commit

Permalink
chore: added iowallet:// as custom url schema to provide outcome (#320
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Hantex9 authored Nov 28, 2023
1 parent 7db8657 commit 4f37306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/wallet/wallet_onboarding.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
})
.then(response => response.json())
.then(response => {
window.location.href = `/wallets/outcomes?outcome=${container.value}&walletId=${response.walletId}`;
window.location = `iowallet://127.0.0.1:3000/wallets/outcomes?outcome=${container.value}&walletId=${response.walletId}`;
})
.catch(err => alert(err))
} else {
window.location.href = `/wallets/outcomes?outcome=${container.value}`;
window.location = `iowallet://127.0.0.1:3000/wallets/outcomes?outcome=${container.value}`;
}
}

Expand Down

0 comments on commit 4f37306

Please sign in to comment.