Skip to content

Commit

Permalink
fix:291 update userAgent for specific browser to avoid not supported …
Browse files Browse the repository at this point in the history
…platform
  • Loading branch information
julian-alarcon committed Nov 1, 2023
1 parent c98a479 commit 296acf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/mail-window-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class MailWindowController {
});

// and load the index.html of the app.
this.win.loadURL(mainMailServiceUrl, { userAgent: "Chrome" });
this.win.loadURL(mainMailServiceUrl, { userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/119.0.0.0" });

// Show window handler
ipcMain.on("show", (event) => {
Expand Down

0 comments on commit 296acf8

Please sign in to comment.