mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 01:54:04 +00:00
fix: http (#3596)
This commit is contained in:
@@ -137,7 +137,6 @@ export const dispatchHttp468Request = async (props: HttpRequestProps): Promise<H
|
|||||||
// 1. Replace {{key.key}} variables
|
// 1. Replace {{key.key}} variables
|
||||||
const regex1 = /\{\{\$([^.]+)\.([^$]+)\$\}\}/g;
|
const regex1 = /\{\{\$([^.]+)\.([^$]+)\$\}\}/g;
|
||||||
const matches1 = [...text.matchAll(regex1)];
|
const matches1 = [...text.matchAll(regex1)];
|
||||||
if (matches1.length === 0) return text;
|
|
||||||
matches1.forEach((match) => {
|
matches1.forEach((match) => {
|
||||||
const nodeId = match[1];
|
const nodeId = match[1];
|
||||||
const id = match[2];
|
const id = match[2];
|
||||||
|
Reference in New Issue
Block a user