Need to enableRemote in the electron browser window that gets created by filmout.
This commit is contained in:
parent
88a6e9f563
commit
ad1ac51fc8
|
@ -16,7 +16,8 @@ class WebView {
|
||||||
const prefs = {
|
const prefs = {
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
allowRunningInsecureContent: false
|
allowRunningInsecureContent: false,
|
||||||
|
enableRemoteModule: true
|
||||||
},
|
},
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -24,7 +24,8 @@ class WebView {
|
||||||
const prefs : any = {
|
const prefs : any = {
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
allowRunningInsecureContent: false
|
allowRunningInsecureContent: false,
|
||||||
|
enableRemoteModule: true
|
||||||
},
|
},
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
|
|
Loading…
Reference in New Issue