Revert NodeIntegration Change

Add comment to note why it is true.
This commit is contained in:
gfs
2019-05-31 08:57:21 -07:00
parent d3d73611b7
commit 07a0bc9c7d

View File

@@ -15,10 +15,10 @@ namespace ElectronNET.API.Entities
public bool DevTools { get; set; } = true;
/// <summary>
/// Whether node integration is enabled. Default is false.
/// Whether node integration is enabled. Required to enable IPC. Default is true.
/// </summary>
[DefaultValue(false)]
public bool NodeIntegration { get; set; } = false;
[DefaultValue(true)]
public bool NodeIntegration { get; set; } = true;
/// <summary>
/// Whether node integration is enabled in web workers. Default is false.