diff --git a/package-lock.json b/package-lock.json index c16f67b..b3b4f08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1400,9 +1400,9 @@ }, "dependencies": { "@types/node": { - "version": "14.14.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.34.tgz", - "integrity": "sha512-dBPaxocOK6UVyvhbnpFIj2W+S+1cBTkHQbFQfeeJhoKFbzYcVUGHvddeWPSucKATb3F0+pgDq0i6ghEaZjsugA==", + "version": "14.14.35", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.35.tgz", + "integrity": "sha512-Lt+wj8NVPx0zUmUwumiVXapmaLUcAk3yPuHCFVXras9k5VT9TdhJqKqGVUQCD60OTMCl0qxJ57OiTL0Mic3Iag==", "dev": true } } diff --git a/src/client/assets/js/script.js b/src/client/assets/js/script.js index a97b5e7..c0d1f9e 100644 --- a/src/client/assets/js/script.js +++ b/src/client/assets/js/script.js @@ -1,5 +1,5 @@ 'use strict'; -const {ipcRenderer} = require('electron'); +const { ipcRenderer } = require('electron'); window.addEventListener("DOMContentLoaded", () => { const minimizeButton = document.getElementById("minimize-btn") diff --git a/src/server/main.js b/src/server/main.js index f75857a..debf063 100644 --- a/src/server/main.js +++ b/src/server/main.js @@ -31,7 +31,7 @@ function createWindow () { icon: iconPath, webPreferences: { nodeIntegration: true, - enableRemoteModule: true + contextIsolation: false }, frame: false, })