mirror of
https://github.com/electron/electron.git
synced 2026-02-09 22:56:24 -05:00
feat: disable the remote module by default (#22091)
This commit is contained in:
@@ -327,7 +327,7 @@ void WebContentsPreferences::AppendCommandLineSwitches(
|
||||
|
||||
#if BUILDFLAG(ENABLE_REMOTE_MODULE)
|
||||
// Whether to enable the remote module
|
||||
if (IsEnabled(options::kEnableRemoteModule, true))
|
||||
if (IsEnabled(options::kEnableRemoteModule, false))
|
||||
command_line->AppendSwitch(switches::kEnableRemoteModule);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user