mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-15 03:46:24 +00:00
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:
commit
5d1e5c304c
@ -48,13 +48,13 @@ function createWindow() {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
// Load the index.html file from the app directory
|
// 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
|
extraHeaders: "pragma: no-cache\n" // Prevent caching of the loaded file
|
||||||
});
|
});
|
||||||
// Handle failed load attempts by reloading the file
|
// Handle failed load attempts by reloading the file
|
||||||
mainWindow.webContents.on("did-fail-load", function () {
|
mainWindow.webContents.on("did-fail-load", function () {
|
||||||
console.log("Failed to load the page, retrying...");
|
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
|
// Uncomment the following line to open the DevTools
|
||||||
// mainWindow.webContents.openDevTools();
|
// mainWindow.webContents.openDevTools();
|
||||||
|
16
desktopApp/package-lock.json
generated
16
desktopApp/package-lock.json
generated
@ -10,7 +10,7 @@
|
|||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"express": "^4.21.0"
|
"express": "^4.21.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@electron/packager": "^18.3.2",
|
"@electron/packager": "^18.3.2",
|
||||||
@ -792,9 +792,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cookie": {
|
"node_modules/cookie": {
|
||||||
"version": "0.6.0",
|
"version": "0.7.1",
|
||||||
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
|
||||||
"integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==",
|
"integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 0.6"
|
"node": ">= 0.6"
|
||||||
}
|
}
|
||||||
@ -1086,16 +1086,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/express": {
|
"node_modules/express": {
|
||||||
"version": "4.21.0",
|
"version": "4.21.1",
|
||||||
"resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz",
|
"resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz",
|
||||||
"integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==",
|
"integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"accepts": "~1.3.8",
|
"accepts": "~1.3.8",
|
||||||
"array-flatten": "1.1.1",
|
"array-flatten": "1.1.1",
|
||||||
"body-parser": "1.20.3",
|
"body-parser": "1.20.3",
|
||||||
"content-disposition": "0.5.4",
|
"content-disposition": "0.5.4",
|
||||||
"content-type": "~1.0.4",
|
"content-type": "~1.0.4",
|
||||||
"cookie": "0.6.0",
|
"cookie": "0.7.1",
|
||||||
"cookie-signature": "1.0.6",
|
"cookie-signature": "1.0.6",
|
||||||
"debug": "2.6.9",
|
"debug": "2.6.9",
|
||||||
"depd": "2.0.0",
|
"depd": "2.0.0",
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"express": "^4.21.0"
|
"express": "^4.21.1"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "com.electron.robosats",
|
"appId": "com.electron.robosats",
|
||||||
|
Loading…
Reference in New Issue
Block a user