electron / 18.0.1 / api / structures / custom-scheme.html /

CustomScheme Object

  • scheme string - Custom schemes to be registered with options.
  • privileges Object (optional)
    • standard boolean (optional) - Default false.
    • secure boolean (optional) - Default false.
    • bypassCSP boolean (optional) - Default false.
    • allowServiceWorkers boolean (optional) - Default false.
    • supportFetchAPI boolean (optional) - Default false.
    • corsEnabled boolean (optional) - Default false.
    • stream boolean (optional) - Default false.

© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/latest/api/structures/custom-scheme