Merge branch 'patchopensnapps' of https://github.com/neuroscr/loki-messenger into patchopensnapps

pull/1061/head
Ryan Tharp 5 years ago
commit 058cd32746

@ -262,7 +262,7 @@ const serverRequest = async (endpoint, options = {}) => {
) {
mode = 'sendToProxy';
// url.search automatically includes the ? part
const search = url.search ? `${url.search}` : '';
const search = url.search || '';
// strip first slash
const endpointWithQS = `${url.pathname}${search}`.replace(/^\//, '');
({ response, txtResponse, result } = await sendToProxy(

Loading…
Cancel
Save