Skip to content

Commit

Permalink
Merge branch 'fix/ksuite-redirect-url' into 'master'
Browse files Browse the repository at this point in the history
redirect to kchat tab directly in ksuite redirect

See merge request kchat/webapp!958
  • Loading branch information
antonbuks committed Oct 28, 2024
2 parents af1c891 + 78d809a commit 5b4f2e8
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 5b4f2e8

Please sign in to comment.