fix querystring in file-proxy

pull/782/head
Ryan Tharp 5 years ago
parent 569485f42a
commit e6ab3d55ae

@ -485,8 +485,10 @@ class LokiAppDotNetServerAPI {
this.baseServerUrl === 'https://file.lokinet.org') this.baseServerUrl === 'https://file.lokinet.org')
) { ) {
mode = '_sendToProxy'; mode = '_sendToProxy';
const endpointWithQS = url.toString().replace(this.baseServerUrl + '/', '');
({ response, txtResponse, result } = await this._sendToProxy( ({ response, txtResponse, result } = await this._sendToProxy(
endpoint, endpointWithQS,
fetchOptions fetchOptions
)); ));
} else { } else {

Loading…
Cancel
Save