|
|
@@ -10,6 +10,6 @@ export const getRedirectUrl = () => {
|
|
|
|
|
|
export const getLogoutUrl = () => {
|
|
|
if (!loginApp) return '';
|
|
|
- const encodeUrl = encodeURIComponent(window.location.href);
|
|
|
+ const encodeUrl = encodeURIComponent(location.pathname);
|
|
|
return loginApp + `logout?redirect=${encodeUrl}`;
|
|
|
};
|