Skip to content

Commit

Permalink
Rename event to headers-received
Browse files Browse the repository at this point in the history
  • Loading branch information
uwx committed Jan 29, 2025
1 parent d8027da commit 74847bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/injector/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class BrowserWindow extends ElectronBrowserWindow {
details.responseHeaders[key] = ["*"];
}

moonlightHost.events.emit("on-headers-received", details, isMainWindow);
moonlightHost.events.emit("headers-received", details, isMainWindow);

cb({ cancel: false, responseHeaders: details.responseHeaders });
}
Expand Down

0 comments on commit 74847bb

Please sign in to comment.