From 9c216940241b249b7425002538ebcd3d02e328c7 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sat, 21 Mar 2020 08:50:51 +0100 Subject: #69 Update GMail recipe --- uncompressed/gmail/package.json | 2 +- uncompressed/gmail/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'uncompressed') 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 @@ { "id": "gmail", "name": "Gmail", - "version": "1.2.3", + "version": "1.3.0", "description": "Gmail", "main": "index.js", "author": "Stefan Malzner ", 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"); module.exports = (Franz) => { // if the user is on gmail's landing page, go to the login page. - if (location.hostname == 'www.google.com') { + if (location.hostname == 'www.google.com' && location.href.includes("gmail/about/")) { location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/'; } -- cgit v1.2.3-54-g00ecf