diff --git a/desktopApp/index.js b/desktopApp/index.js index d0bf20b3..4a9f21b6 100644 --- a/desktopApp/index.js +++ b/desktopApp/index.js @@ -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(); diff --git a/desktopApp/package-lock.json b/desktopApp/package-lock.json index 929ccd75..39c29ae1 100644 --- a/desktopApp/package-lock.json +++ b/desktopApp/package-lock.json @@ -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", diff --git a/desktopApp/package.json b/desktopApp/package.json index 232a1512..12302921 100644 --- a/desktopApp/package.json +++ b/desktopApp/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "cors": "^2.8.5", - "express": "^4.21.0" + "express": "^4.21.1" }, "build": { "appId": "com.electron.robosats",