Compare commits
No commits in common. "d2d82b19a4a37c785bb69f34cba5d2a779b28bc1" and "45cb9a2d700e7cff6f5375092fe70af1800b595c" have entirely different histories.
d2d82b19a4
...
45cb9a2d70
@ -16,13 +16,6 @@ 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') {
|
|
||||||
// A change of the host is needed to make library available in windows object
|
|
||||||
// the app can't encrypt files without the crypto library
|
|
||||||
// which is only available on https or localhost
|
|
||||||
window.location.hostname = 'localhost'
|
|
||||||
}
|
|
||||||
|
|
||||||
generateBunkerDelegatedKey()
|
generateBunkerDelegatedKey()
|
||||||
|
|
||||||
const authController = new AuthController()
|
const authController = new AuthController()
|
||||||
|
Loading…
Reference in New Issue
Block a user