fix(Offline): fixed 0.0.0.0 host #94
@ -16,6 +16,10 @@ const App = () => {
|
|||||||
const authState = useSelector((state: State) => state.auth)
|
const authState = useSelector((state: State) => state.auth)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
if (window.location.hostname === '0.0.0.0') {
|
||||||
|
window.location.hostname = 'localhost'
|
||||||
|
}
|
||||||
|
|
||||||
generateBunkerDelegatedKey()
|
generateBunkerDelegatedKey()
|
||||||
|
|
||||||
const authController = new AuthController()
|
const authController = new AuthController()
|
||||||
|
Loading…
Reference in New Issue
Block a user