Skip to content

Commit

Permalink
fixup! TW-2036: Fix missing some thing part when use resetLocationPat…
Browse files Browse the repository at this point in the history
…hWithLoginToken
  • Loading branch information
nqhhdev committed Sep 25, 2024
1 parent b24d977 commit 0deaa10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/presentation/mixins/connect_page_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ mixin ConnectPageMixin {
if (AppConfig.issueId != null && AppConfig.issueId!.isNotEmpty) {
return '${getBaseUrlBeforeHash(html.window.location.href)}/twake-on-matrix/${AppConfig.issueId}/auth.html';
}
return '${getBaseUrlBeforeHash(html.window.location.href)}/web/auth.html';
return '${getBaseUrlBeforeHash(html.window.location.href)}web/auth.html';
}
return '${AppConfig.appOpenUrlScheme.toLowerCase()}://redirect';
}
Expand All @@ -232,7 +232,7 @@ mixin ConnectPageMixin {
if (AppConfig.issueId != null && AppConfig.issueId!.isNotEmpty) {
return '${getBaseUrlBeforeHash(html.window.location.href)}/twake-on-matrix/${AppConfig.issueId}/auth.html$homeserverParam';
}
return '${getBaseUrlBeforeHash(html.window.location.href)}/web/auth.html$homeserverParam';
return '${getBaseUrlBeforeHash(html.window.location.href)}web/auth.html$homeserverParam';
}
return '${AppConfig.appOpenUrlScheme.toLowerCase()}://login';
}
Expand Down

0 comments on commit 0deaa10

Please sign in to comment.