mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: electron whitescreen (#4013)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user