Skip to content

Commit 07a0bc9

Browse files
author
gfs
committed
Revert NodeIntegration Change
Add comment to note why it is true.
1 parent d3d7361 commit 07a0bc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ElectronNET.API/Entities/WebPreferences.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ public class WebPreferences
1515
public bool DevTools { get; set; } = true;
1616

1717
/// <summary>
18-
/// Whether node integration is enabled. Default is false.
18+
/// Whether node integration is enabled. Required to enable IPC. Default is true.
1919
/// </summary>
20-
[DefaultValue(false)]
21-
public bool NodeIntegration { get; set; } = false;
20+
[DefaultValue(true)]
21+
public bool NodeIntegration { get; set; } = true;
2222

2323
/// <summary>
2424
/// Whether node integration is enabled in web workers. Default is false.

0 commit comments

Comments
 (0)