Merge codeday/jason => codeday/main
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user