diff --git a/js/modules/loki_app_dot_net_api.js b/js/modules/loki_app_dot_net_api.js index a9c92933c..e6645cf69 100644 --- a/js/modules/loki_app_dot_net_api.js +++ b/js/modules/loki_app_dot_net_api.js @@ -385,7 +385,7 @@ const serverRequest = async (endpoint, options = {}) => { const host = url.host.toLowerCase(); // log.info('host', host, FILESERVER_HOSTS); if ( - window.lokiFeatureFlags.useOnionRequests && + window.lokiFeatureFlags.useFileOnionRequests && FILESERVER_HOSTS.includes(host) ) { mode = 'sendViaOnion'; diff --git a/preload.js b/preload.js index caab83f98..23bddf50c 100644 --- a/preload.js +++ b/preload.js @@ -416,6 +416,7 @@ window.lokiFeatureFlags = { privateGroupChats: true, useSnodeProxy: !process.env.USE_STUBBED_NETWORK, useOnionRequests: true, + useFileOnionRequests: false, onionRequestHops: 1, };