Merge codeday/jason => codeday/main

This commit is contained in:
Jason Casareno
2022-08-01 12:09:10 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -348,7 +348,8 @@ const newSendRequest = async () => {
const ensureMethodInEndpoint = () => { const ensureMethodInEndpoint = () => {
if ( if (
!/^http[s]?:\/\//.test(newEndpoint.value) && !/^http[s]?:\/\//.test(newEndpoint.value) &&
!newEndpoint.value.startsWith("<<") !newEndpoint.value.startsWith("<<") &&
!newEndpoint.value.startsWith("{{")
) { ) {
const domain = newEndpoint.value.split(/[/:#?]+/)[0] const domain = newEndpoint.value.split(/[/:#?]+/)[0]
if (domain === "localhost" || /([0-9]+\.)*[0-9]/.test(domain)) { if (domain === "localhost" || /([0-9]+\.)*[0-9]/.test(domain)) {

View File

@@ -77,7 +77,6 @@ export const runRESTRequest$ = (): TaskEither<
name: "Env", name: "Env",
variables: combineEnvVariables(envs), variables: combineEnvVariables(envs),
}) })
console.log("effectiveRequest", effectiveRequest)
const stream = createRESTNetworkRequestStream(effectiveRequest) const stream = createRESTNetworkRequestStream(effectiveRequest)