fix: credentials:

This commit is contained in:
StyleZhang 2024-11-11 12:27:58 +08:00
parent 66b08e653e
commit 822c18cb76

View File

@ -160,7 +160,7 @@ async function base<T>(url: string, options: FetchOptionType = {}, otherOptions:
})(fetchPathname, { })(fetchPathname, {
...init, ...init,
credentials: isMarketplaceAPI credentials: isMarketplaceAPI
? undefined ? 'omit'
: (options.credentials || 'include'), : (options.credentials || 'include'),
retry: { retry: {
methods: [], methods: [],