Skip to content

Commit c250f29

Browse files
committed
fix derp
1 parent 707f47d commit c250f29

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81665,7 +81665,7 @@ const Bot = botProps => {
8166581665
}
8166681666
return fetch(input, init);
8166781667
};
81668-
fetchEventSource(`${props.apiHost}/'api/v1/prediction'}/${chatflowid}`, {
81668+
fetchEventSource(`${props.apiHost}/api/v1/prediction/${chatflowid}`, {
8166981669
openWhenHidden: true,
8167081670
method: 'POST',
8167181671
body: JSON.stringify(params),

dist/web.umd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81671,7 +81671,7 @@ ${body}</tbody>
8167181671
}
8167281672
return fetch(input, init);
8167381673
};
81674-
fetchEventSource(`${props.apiHost}/'api/v1/prediction'}/${chatflowid}`, {
81674+
fetchEventSource(`${props.apiHost}/api/v1/prediction/${chatflowid}`, {
8167581675
openWhenHidden: true,
8167681676
method: 'POST',
8167781677
body: JSON.stringify(params),

src/components/Bot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ export const Bot = (botProps: BotProps & { class?: string }) => {
935935
return fetch(input, init);
936936
};
937937

938-
fetchEventSource(`${props.apiHost}/'api/v1/prediction'}/${chatflowid}`, {
938+
fetchEventSource(`${props.apiHost}/api/v1/prediction/${chatflowid}`, {
939939
openWhenHidden: true,
940940
method: 'POST',
941941
body: JSON.stringify(params),

0 commit comments

Comments
 (0)