diff --git a/js/modules/loki_app_dot_net_api.js b/js/modules/loki_app_dot_net_api.js index 770979ba6..06843060e 100644 --- a/js/modules/loki_app_dot_net_api.js +++ b/js/modules/loki_app_dot_net_api.js @@ -485,8 +485,12 @@ 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 {