From 7be98978dd2b492b4aad4b38f9289e1b45939132 Mon Sep 17 00:00:00 2001 From: Yury Date: Wed, 29 May 2024 17:03:00 +0300 Subject: [PATCH] fix(Offline): fixed 0.0.0.0 host --- src/App.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index 149bddb..7d8744c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,6 +16,10 @@ const App = () => { const authState = useSelector((state: State) => state.auth) useEffect(() => { + if (window.location.hostname === '0.0.0.0') { + window.location.hostname = 'localhost' + } + generateBunkerDelegatedKey() const authController = new AuthController()