From 3a0b3dddfd8cda29995e90557075cb1d9cbe77a0 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Mon, 3 Feb 2020 20:15:43 -0800 Subject: [PATCH] lint --- js/modules/loki_app_dot_net_api.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/modules/loki_app_dot_net_api.js b/js/modules/loki_app_dot_net_api.js index db5fcb6bf..06843060e 100644 --- a/js/modules/loki_app_dot_net_api.js +++ b/js/modules/loki_app_dot_net_api.js @@ -486,7 +486,9 @@ class LokiAppDotNetServerAPI { ) { mode = '_sendToProxy'; - const endpointWithQS = url.toString().replace(this.baseServerUrl + '/', ''); + const endpointWithQS = url + .toString() + .replace(`${this.baseServerUrl}/`, ''); ({ response, txtResponse, result } = await this._sendToProxy( endpointWithQS, fetchOptions