diff options
Diffstat (limited to 'uncompressed/gmail/webview.js')
-rw-r--r-- | uncompressed/gmail/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||