From 822c18cb766bf5273f57a00cca68e1241a56db4e Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Mon, 11 Nov 2024 12:27:58 +0800 Subject: [PATCH] fix: credentials: --- web/service/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/service/fetch.ts b/web/service/fetch.ts index b70a13c6ca..6551fa5793 100644 --- a/web/service/fetch.ts +++ b/web/service/fetch.ts @@ -160,7 +160,7 @@ async function base(url: string, options: FetchOptionType = {}, otherOptions: })(fetchPathname, { ...init, credentials: isMarketplaceAPI - ? undefined + ? 'omit' : (options.credentials || 'include'), retry: { methods: [],