Skip to content

Commit

Permalink
fix base url split for ksuite redirect
Browse files Browse the repository at this point in the history
Changelog: fixed
  • Loading branch information
antonbuks committed Oct 23, 2024
1 parent 4be4d5a commit 7cbc515
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ 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('.')[1]}`);
window.location.assign(`https://ksuite.${process.env.BASE_URL?.split('kchat.')[1]}`);
}

try {
Expand Down

0 comments on commit 7cbc515

Please sign in to comment.