Skip to content

Commit 10b8e52

Browse files
committed
fix: remove async from handle
1 parent aa7dd53 commit 10b8e52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ElectronNET.WebApp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ await Electron.Protocol.RegisterSchemesAsPrivilegedAsync(
4141
}
4242
);
4343

44-
await Electron.Protocol.HandleAsync("app", async request =>
44+
Electron.Protocol.Handle("app", async request =>
4545
{
4646
var html = "<h1>Hello from .NET!</h1>";
4747
return new Response

0 commit comments

Comments
 (0)