fix(Offline): fixed 0.0.0.0 host

This commit is contained in:
Yury 2024-05-29 17:03:00 +03:00
parent 45cb9a2d70
commit 7be98978dd

View File

@ -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()