From b27b27f067f916ec029d6471eea7ae9529ec1929 Mon Sep 17 00:00:00 2001 From: Yury Date: Wed, 29 May 2024 17:08:38 +0300 Subject: [PATCH] chore: added comment --- src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index 35e43d3..8956df1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -18,6 +18,8 @@ const App = () => { 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' }