aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gmail/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gmail/webview.js')
-rw-r--r--recipes/gmail/webview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js
index a2c712e..681b36e 100644
--- a/recipes/gmail/webview.js
+++ b/recipes/gmail/webview.js
@@ -1,8 +1,8 @@
1const path = require("path"); 1const path = require('path');
2 2
3module.exports = (Franz) => { 3module.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' && location.href.includes("gmail/about/")) { 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