mirror of https://github.com/langgenius/dify.git
fix: credentials:
This commit is contained in:
parent
5e81150b22
commit
66b08e653e
|
|
@ -158,10 +158,10 @@ async function base<T>(url: string, options: FetchOptionType = {}, otherOptions:
|
|||
],
|
||||
},
|
||||
})(fetchPathname, {
|
||||
credentials: isMarketplaceAPI
|
||||
? 'omit'
|
||||
: (options.credentials || 'include'),
|
||||
...init,
|
||||
credentials: isMarketplaceAPI
|
||||
? undefined
|
||||
: (options.credentials || 'include'),
|
||||
retry: {
|
||||
methods: [],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue