diff options
Diffstat (limited to 'uncompressed')
-rw-r--r-- | uncompressed/gmail/package.json | 2 | ||||
-rw-r--r-- | uncompressed/gmail/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uncompressed/gmail/package.json b/uncompressed/gmail/package.json index 0ce9c64..daac7a3 100644 --- a/uncompressed/gmail/package.json +++ b/uncompressed/gmail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "gmail", | 2 | "id": "gmail", |
3 | "name": "Gmail", | 3 | "name": "Gmail", |
4 | "version": "1.2.3", | 4 | "version": "1.3.0", |
5 | "description": "Gmail", | 5 | "description": "Gmail", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Stefan Malzner <stefan@adlk.io>", | 7 | "author": "Stefan Malzner <stefan@adlk.io>", |
diff --git a/uncompressed/gmail/webview.js b/uncompressed/gmail/webview.js index 433d0cf..95d28e7 100644 --- a/uncompressed/gmail/webview.js +++ b/uncompressed/gmail/webview.js | |||
@@ -2,7 +2,7 @@ const path = require("path"); | |||
2 | 2 | ||
3 | module.exports = (Franz) => { | 3 | module.exports = (Franz) => { |
4 | // if the user is on gmail's landing page, go to the login page. | 4 | // if the user is on gmail's landing page, go to the login page. |
5 | if (location.hostname == 'www.google.com') { | 5 | if (location.hostname == 'www.google.com' && location.href.includes("gmail/about/")) { |
6 | location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/'; | 6 | location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/'; |
7 | } | 7 | } |
8 | 8 | ||