Skip to content

Commit

Permalink
devtools disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
vilarodr committed Mar 19, 2024
1 parent 8ee9048 commit 01a12af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/controllers/upload-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const filesTransfer = (event: IpcMainEvent, persistentId: string, items:
} else {
itemInfo.storageUrls.push(uploadUrlsResponseBody.data.url);
try {
console.log("itemInfo: " + JSON.stringify(itemInfo)); // Debug
uploadToStoreResponse = await uploadSinglepartToStore(event, itemInfo);
if (JSON.parse(JSON.stringify(uploadToStoreResponse))._responseHead.statusCode != 200) {
throw new Error('HTTP ' + JSON.parse(JSON.stringify(uploadToStoreResponse))._responseHead.statusMessage);
Expand Down
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function createMainWindow() {
mainWindow.loadURL(indexPath);

// for Debugging
mainWindow.webContents.openDevTools();
//mainWindow.webContents.openDevTools();

mainWindow.on('close', function () {
app.quit();
Expand Down

0 comments on commit 01a12af

Please sign in to comment.