Skip to content

electron: use custom oc:// protocol for renderer windows#23516

Open
Brendonovich wants to merge 1 commit intodevfrom
brendan/electron-renderer-protocol
Open

electron: use custom oc:// protocol for renderer windows#23516
Brendonovich wants to merge 1 commit intodevfrom
brendan/electron-renderer-protocol

Conversation

@Brendonovich
Copy link
Copy Markdown
Member

Summary

  • Switch Electron renderer from file:// to a privileged oc://renderer custom protocol
  • Prevents root-relative asset paths from resolving to the filesystem root
  • Adds CORS entry for the custom protocol in local server config
  • Updates test comments to reflect new protocol behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant