fix: electron whitescreen (#4013)

This commit is contained in:
Peng Xiao
2023-08-30 00:51:57 +08:00
committed by GitHub
parent 3ef0db7512
commit 7b0e5b89ed
3 changed files with 7 additions and 7 deletions

View File

@@ -57,7 +57,6 @@ async function handleHttpRequest(request: Request) {
}
export function registerProtocol() {
// it seems that there is some issue to postMessage between renderer with custom protocol & helper process
protocol.handle('http', request => {
return handleHttpRequest(request);
});