Merge branch 'validation_fix' of personal:logspace-ai/langflow into validation_fix

This commit is contained in:
anovazzi1 2023-06-13 20:01:02 -03:00
commit 78faae8372
2 changed files with 2 additions and 1 deletions

View file

@ -58,7 +58,7 @@ export default function BuildTrigger({
// Step 2: Use the session ID to establish an SSE connection using EventSource
let validationResults = [];
let finished = false;
const apiUrl = `/build/stream/${flowId}`;
const apiUrl = `/api/v1/build/stream/${flowId}`;
const eventSource = new EventSource(apiUrl);
try{
eventSource.onmessage = (event) => {

View file

@ -7,6 +7,7 @@ const apiRoutes = [
"^/api/v1/validate/*",
"/api/v1/chat/*",
"/api/v1/version",
"^/api/v1/build/*",
"/health",
];