forked from extern/bruno
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 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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user