diff --git a/js/modules/loki_app_dot_net_api.js b/js/modules/loki_app_dot_net_api.js index 770979ba6..db5fcb6bf 100644 --- a/js/modules/loki_app_dot_net_api.js +++ b/js/modules/loki_app_dot_net_api.js @@ -485,8 +485,10 @@ class LokiAppDotNetServerAPI { this.baseServerUrl === 'https://file.lokinet.org') ) { mode = '_sendToProxy'; + + const endpointWithQS = url.toString().replace(this.baseServerUrl + '/', ''); ({ response, txtResponse, result } = await this._sendToProxy( - endpoint, + endpointWithQS, fetchOptions )); } else {