diff options
author | 2021-10-04 23:22:35 +0530 | |
---|---|---|
committer | 2021-10-04 23:22:35 +0530 | |
commit | e59ef69833aad04b37d77b4428de738fdf098568 (patch) | |
tree | aa6cc0894701e44d965b292ff1c9274ceef46add /src/components/services/content/ServiceWebview.js | |
parent | 5.6.3-nightly.22 [skip ci] (diff) | |
download | ferdium-app-e59ef69833aad04b37d77b4428de738fdf098568.tar.gz ferdium-app-e59ef69833aad04b37d77b4428de738fdf098568.tar.zst ferdium-app-e59ef69833aad04b37d77b4428de738fdf098568.zip |
chore: upgraded electron to 14.1.0 (#1860)
* upgrade 'electron-react-titlebar' to 1.0.0
* fix issue with 'contextIsolation' and 'enabelRemoteModule' for service-webview
Diffstat (limited to 'src/components/services/content/ServiceWebview.js')
-rw-r--r-- | src/components/services/content/ServiceWebview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index c0f48793a..d3170be53 100644 --- a/src/components/services/content/ServiceWebview.js +++ b/src/components/services/content/ServiceWebview.js | |||
@@ -85,7 +85,8 @@ class ServiceWebview extends Component { | |||
85 | useragent={service.userAgent} | 85 | useragent={service.userAgent} |
86 | disablewebsecurity={service.recipe.disablewebsecurity ? true : undefined} | 86 | disablewebsecurity={service.recipe.disablewebsecurity ? true : undefined} |
87 | allowpopups | 87 | allowpopups |
88 | webpreferences={`spellcheck=${isSpellcheckerEnabled ? 1 : 0}`} | 88 | nodeintegration |
89 | webpreferences={`spellcheck=${isSpellcheckerEnabled ? 1 : 0}, contextIsolation=1, enableRemoteModule=1`} | ||
89 | /> | 90 | /> |
90 | ); | 91 | ); |
91 | } | 92 | } |