Merge pull request #1539 from RoboSats/dependabot/npm_and_yarn/desktopApp/multi-9f37c16f8f

chore(deps): bump cookie and express in /desktopApp
This commit is contained in:
KoalaSat 2024-10-19 10:53:14 +00:00 committed by GitHub
commit 5d1e5c304c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 11 deletions

View File

@ -48,13 +48,13 @@ function createWindow() {
},
});
// Load the index.html file from the app directory
mainWindow.loadURL("file://".concat(path.resolve(__dirname, 'index.html#/robot')), {
mainWindow.loadURL("file://".concat(path.resolve(__dirname, 'index.html#/garage')), {
extraHeaders: "pragma: no-cache\n" // Prevent caching of the loaded file
});
// Handle failed load attempts by reloading the file
mainWindow.webContents.on("did-fail-load", function () {
console.log("Failed to load the page, retrying...");
mainWindow.loadURL("file://".concat(__dirname, "/index.html#/robot"));
mainWindow.loadURL("file://".concat(__dirname, "/index.html#/garage"));
});
// Uncomment the following line to open the DevTools
// mainWindow.webContents.openDevTools();

View File

@ -10,7 +10,7 @@
"license": "ISC",
"dependencies": {
"cors": "^2.8.5",
"express": "^4.21.0"
"express": "^4.21.1"
},
"devDependencies": {
"@electron/packager": "^18.3.2",
@ -792,9 +792,9 @@
}
},
"node_modules/cookie": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
"integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==",
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
"integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
"engines": {
"node": ">= 0.6"
}
@ -1086,16 +1086,16 @@
}
},
"node_modules/express": {
"version": "4.21.0",
"resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz",
"integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==",
"version": "4.21.1",
"resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz",
"integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==",
"dependencies": {
"accepts": "~1.3.8",
"array-flatten": "1.1.1",
"body-parser": "1.20.3",
"content-disposition": "0.5.4",
"content-type": "~1.0.4",
"cookie": "0.6.0",
"cookie": "0.7.1",
"cookie-signature": "1.0.6",
"debug": "2.6.9",
"depd": "2.0.0",

View File

@ -20,7 +20,7 @@
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.21.0"
"express": "^4.21.1"
},
"build": {
"appId": "com.electron.robosats",