mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-28 06:06:38 +08:00
delete api window.ReactNativeWebView.postMessage
This commit is contained in:
parent
236c26ab89
commit
54e401abd5
@ -350,16 +350,6 @@ export function getHeaders(ignoreHeaders: boolean = false) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
window.ReactNativeWebView.postMessage(appConfig.omeToken);
|
|
||||||
} catch {
|
|
||||||
try {
|
|
||||||
window.ReactNativeWebView.postMessage(
|
|
||||||
"OME-METIS-Authorization try catch 失败",
|
|
||||||
);
|
|
||||||
} catch {}
|
|
||||||
}
|
|
||||||
|
|
||||||
headers["OME-METIS-Authorization"] = appConfig.omeToken || "";
|
headers["OME-METIS-Authorization"] = appConfig.omeToken || "";
|
||||||
|
|
||||||
return headers;
|
return headers;
|
||||||
|
Loading…
Reference in New Issue
Block a user