Skip to content

Commit

Permalink
fix add accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
timche committed Jun 10, 2016
1 parent 95b8e15 commit 1e9f313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gmail-desktop",
"productName": "Gmail Desktop",
"version": "0.2.0",
"version": "0.2.1",
"description": "An unofficial Gmail Desktop App built with Electron",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ app.on('ready', () => {
})

webContents.on('new-window', (e, url) => {
if (/^(https:\/\/mail\.google\.com).*/.test(url)) {
if (/^(https:\/\/(mail|accounts)\.google\.com).*/.test(url)) {
e.preventDefault()
mainWindow.loadURL(url)
} else {
Expand Down

0 comments on commit 1e9f313

Please sign in to comment.