aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2020-03-21 08:50:51 +0100
committerLibravatar vantezzen <hello@vantezzen.io>2020-03-21 08:50:51 +0100
commit9c216940241b249b7425002538ebcd3d02e328c7 (patch)
tree9300f2c9414c93ab8d86bf574e0c91548cf0921e /uncompressed
parentFix heading hierarchy (diff)
downloadferdium-recipes-9c216940241b249b7425002538ebcd3d02e328c7.tar.gz
ferdium-recipes-9c216940241b249b7425002538ebcd3d02e328c7.tar.zst
ferdium-recipes-9c216940241b249b7425002538ebcd3d02e328c7.zip
#69 Update GMail recipe
Diffstat (limited to 'uncompressed')
-rw-r--r--uncompressed/gmail/package.json2
-rw-r--r--uncompressed/gmail/webview.js2
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
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') { 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