diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/gmail/webview.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/gmail/webview.js')
-rw-r--r-- | recipes/gmail/webview.js | 4 |
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 @@ | |||
1 | const path = require("path"); | 1 | 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' && 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 | ||