New Release #98

Merged
b merged 15 commits from staging into main 2024-05-31 14:48:44 +00:00
Showing only changes of commit 662c1c26b3 - Show all commits

View File

@ -16,6 +16,13 @@ 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()