From aac7bfef3b4c53f697de0c87ed4d302c407ebec7 Mon Sep 17 00:00:00 2001 From: kinou-p Date: Thu, 15 Jun 2023 18:12:04 +0200 Subject: [PATCH] auto push --- containers/react/src/components/Profile/Logout.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/react/src/components/Profile/Logout.jsx b/containers/react/src/components/Profile/Logout.jsx index 788e7b62..8a473a18 100644 --- a/containers/react/src/components/Profile/Logout.jsx +++ b/containers/react/src/components/Profile/Logout.jsx @@ -4,7 +4,7 @@ function Logout(){ localStorage.clear(); - const path = `http://''/`; + const path = 'http://' + process.env.BASE_URL + '/'; // history(path, { replace: true }); // window.location.replace(path); // window.history.pushState({}, '', path);