Skip to content

Commit

Permalink
add early return in ksuite redirect
Browse files Browse the repository at this point in the history
Changelog: changed
  • Loading branch information
antonbuks committed Oct 23, 2024
1 parent b36e085 commit 27d93a3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export function loadMe(): ActionFuncAsync<boolean> {
if (!isDesktopApp() && Client4.isIkBaseUrl() && process.env.NODE_ENV !== 'test' && process.env.NODE_ENV !== 'development') { //eslint-disable-line no-process-env
// eslint-disable-next-line no-process-env
window.location.assign(`https://ksuite.${process.env.BASE_URL?.split('kchat.')[1]}`);

return;
}

try {
Expand Down

0 comments on commit 27d93a3

Please sign in to comment.