Merge branch 'validation_fix' of personal:logspace-ai/langflow into validation_fix
This commit is contained in:
commit
78faae8372
2 changed files with 2 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ export default function BuildTrigger({
|
||||||
// Step 2: Use the session ID to establish an SSE connection using EventSource
|
// Step 2: Use the session ID to establish an SSE connection using EventSource
|
||||||
let validationResults = [];
|
let validationResults = [];
|
||||||
let finished = false;
|
let finished = false;
|
||||||
const apiUrl = `/build/stream/${flowId}`;
|
const apiUrl = `/api/v1/build/stream/${flowId}`;
|
||||||
const eventSource = new EventSource(apiUrl);
|
const eventSource = new EventSource(apiUrl);
|
||||||
try{
|
try{
|
||||||
eventSource.onmessage = (event) => {
|
eventSource.onmessage = (event) => {
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ const apiRoutes = [
|
||||||
"^/api/v1/validate/*",
|
"^/api/v1/validate/*",
|
||||||
"/api/v1/chat/*",
|
"/api/v1/chat/*",
|
||||||
"/api/v1/version",
|
"/api/v1/version",
|
||||||
|
"^/api/v1/build/*",
|
||||||
"/health",
|
"/health",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue