From 6c73362ff23981f7b1cf2db2c7e3782c6679318f Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Thu, 30 Nov 2023 01:56:01 +0530 Subject: [PATCH] temporarily reverting pr #1070 --- packages/bruno-electron/src/ipc/network/prepare-request.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/bruno-electron/src/ipc/network/prepare-request.js b/packages/bruno-electron/src/ipc/network/prepare-request.js index d481e8509..c174b29b6 100644 --- a/packages/bruno-electron/src/ipc/network/prepare-request.js +++ b/packages/bruno-electron/src/ipc/network/prepare-request.js @@ -77,9 +77,10 @@ const prepareRequest = (request, collectionRoot) => { let contentTypeDefined = false; let url = request.url; - if (!protocolRegex.test(url)) { - url = `http://${url}`; - } + // Temporarily disabling this as this fails when url has vars Ex: {{baseUrl}}/api + // if (!protocolRegex.test(url)) { + // url = `http://${url}`; + // } // collection headers each(get(collectionRoot, 'request.headers', []), (h) => {