Skip to content

Commit

Permalink
redirect to homepage in mintbase wallet in consumer apps
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago committed Oct 3, 2023
1 parent 6092e62 commit 19d5c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wallet/src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class MintbaseWallet {

async signIn() {
const currentUrl = new URL(window.location.href);
const newUrl = new URL(`${this.walletUrl}/connect`);
const newUrl = new URL(`${this.walletUrl}`);
newUrl.searchParams.set('success_url', currentUrl.href);
newUrl.searchParams.set('failure_url', currentUrl.href);

Expand Down

0 comments on commit 19d5c12

Please sign in to comment.