Skip to content

Commit

Permalink
redirect to kchat tab directly in ksuite redirect
Browse files Browse the repository at this point in the history
Changelog: fixed
  • Loading branch information
antonbuks committed Oct 28, 2024
1 parent b0bd3c9 commit 78d809a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function loadMe(): ActionFuncAsync<boolean> {

if (!bridge.isConnected && !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]}`);
window.location.assign(`https://ksuite.${process.env.BASE_URL?.split('kchat.')[1]}/kchat`);

return;
}
Expand Down

0 comments on commit 78d809a

Please sign in to comment.