Skip to content

Commit

Permalink
fixup! TW-2124: Fixed wrong url when using logout
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev committed Nov 11, 2024
1 parent 2ce18c1 commit db144fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/string_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ extension StringCasingExtension on String {
bool isDevMode = false,
}) {
if (isDevMode) {
return '${this}web/auth.html$homeserverParams';
return '${this}web/auth.html${homeserverParams ?? ''}';
} else {
return '${this}auth.html$homeserverParams';
return '${this}auth.html${homeserverParams ?? ''}';
}
}

Expand Down

0 comments on commit db144fd

Please sign in to comment.