treat react as web app

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2020-06-18 10:42:18 +03:00
1 parent 15323e3ae2
commit 58c814d7eb
2 files changed
+6 -6

No files matched your search

@@ -108,7 +108,6 @@ export default {
if (!this.lens.webview) {
console.log("create webview")
const webview = document.createElement('webview');
webview.setAttribute("nodeintegration", "true");
webview.addEventListener('did-finish-load', this.lensLoaded);
webview.src = this.cluster.url;
this.lens.webview = webview;