From 5538b9a5b9118f6695d7badb8197e77daf962f33 Mon Sep 17 00:00:00 2001 From: Jason Casareno Date: Mon, 1 Aug 2022 12:08:19 -0700 Subject: [PATCH] Bug fix, removed console.logs --- packages/hoppscotch-app/components/http/Request.vue | 3 ++- packages/hoppscotch-app/helpers/RequestRunner.ts | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hoppscotch-app/components/http/Request.vue b/packages/hoppscotch-app/components/http/Request.vue index d2d1b1385..f9600f608 100644 --- a/packages/hoppscotch-app/components/http/Request.vue +++ b/packages/hoppscotch-app/components/http/Request.vue @@ -348,7 +348,8 @@ const newSendRequest = async () => { const ensureMethodInEndpoint = () => { if ( !/^http[s]?:\/\//.test(newEndpoint.value) && - !newEndpoint.value.startsWith("<<") + !newEndpoint.value.startsWith("<<") && + !newEndpoint.value.startsWith("{{") ) { const domain = newEndpoint.value.split(/[/:#?]+/)[0] if (domain === "localhost" || /([0-9]+\.)*[0-9]/.test(domain)) { diff --git a/packages/hoppscotch-app/helpers/RequestRunner.ts b/packages/hoppscotch-app/helpers/RequestRunner.ts index 9d8722424..a6e38ce81 100644 --- a/packages/hoppscotch-app/helpers/RequestRunner.ts +++ b/packages/hoppscotch-app/helpers/RequestRunner.ts @@ -77,7 +77,6 @@ export const runRESTRequest$ = (): TaskEither< name: "Env", variables: combineEnvVariables(envs), }) - console.log("effectiveRequest", effectiveRequest) const stream = createRESTNetworkRequestStream(effectiveRequest)