Skip to content

Commit 7cf2a45

Browse files
committed
fetch adjustment for cors support
1 parent 1309694 commit 7cf2a45

File tree

1 file changed

+1
-0
lines changed
  • libs/web-flow-executor/src/nodes

1 file changed

+1
-0
lines changed

libs/web-flow-executor/src/nodes/fetch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ export const getFetch: NodeTaskFactory<NodeInfo> = (
165165
method: httpMethod,
166166
headers,
167167
body: httpMethod === 'get' ? undefined : JSON.stringify(input),
168+
mode: 'cors',
168169
})
169170
.then(async (response) => {
170171
if (

0 commit comments

Comments
 (0)