mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-09 15:38:34 +01:00
temporarily reverting pr #1070
This commit is contained in:
parent
e307c12fc8
commit
6c73362ff2
@ -77,9 +77,10 @@ const prepareRequest = (request, collectionRoot) => {
|
|||||||
let contentTypeDefined = false;
|
let contentTypeDefined = false;
|
||||||
let url = request.url;
|
let url = request.url;
|
||||||
|
|
||||||
if (!protocolRegex.test(url)) {
|
// Temporarily disabling this as this fails when url has vars Ex: {{baseUrl}}/api
|
||||||
url = `http://${url}`;
|
// if (!protocolRegex.test(url)) {
|
||||||
}
|
// url = `http://${url}`;
|
||||||
|
// }
|
||||||
|
|
||||||
// collection headers
|
// collection headers
|
||||||
each(get(collectionRoot, 'request.headers', []), (h) => {
|
each(get(collectionRoot, 'request.headers', []), (h) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user