IOS safari whisper support (#2870)

* fix: variables check

* remove log

* perf: safari whisper

* feat: comment

* perf: connetion check

* doc
This commit is contained in:
Archer
2024-10-10 12:24:07 +08:00
committed by GitHub
parent 8273c96bbc
commit 13401294ad
5 changed files with 19 additions and 13 deletions

View File

@@ -184,6 +184,7 @@ export const dispatchHttp468Request = async (props: HttpRequestProps): Promise<H
}
})();
// Just show
const formattedRequestBody: Record<string, any> = (() => {
if (requestBody instanceof FormData || requestBody instanceof URLSearchParams) {
return Object.fromEntries(requestBody);