mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 12:47:48 +00:00
Update packages/adapter-electron/functions/setupHandler.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -285,7 +285,7 @@ export async function setupHandler(mainWindow) {
|
||||
await mainWindow.loadURL(url);
|
||||
|
||||
return function stopIntercept() {
|
||||
protocol.unhandle('http');
|
||||
protocol.unhandle(Protocol);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user