aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gmail
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-11 22:40:43 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-11 17:10:43 +0000
commit1cbed113537eef0cffe36a72cb2d315adf7348a7 (patch)
treeb0be3e8b00bef8ecd8506dfe5c4f4bb2463e9a43 /recipes/gmail
parentUpgraded nodejs to '14.16.1' (#482) (diff)
downloadferdium-recipes-1cbed113537eef0cffe36a72cb2d315adf7348a7.tar.gz
ferdium-recipes-1cbed113537eef0cffe36a72cb2d315adf7348a7.tar.zst
ferdium-recipes-1cbed113537eef0cffe36a72cb2d315adf7348a7.zip
Fixing issue with non-sso login for gmail + gdrive not working due to incompatible user-agent/browser version (#477)
Diffstat (limited to 'recipes/gmail')
-rw-r--r--recipes/gmail/index.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/recipes/gmail/index.js b/recipes/gmail/index.js
index 60f0971..309bb87 100644
--- a/recipes/gmail/index.js
+++ b/recipes/gmail/index.js
@@ -2,16 +2,4 @@ var os = require('os')
2 2
3module.exports = Franz => 3module.exports = Franz =>
4 class Gmail extends Franz { 4 class Gmail extends Franz {
5 modifyRequestHeaders() {
6 return [
7 {
8 headers: {
9 'user-agent': window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g,"").trim(),
10 },
11 requestFilters: {
12 urls: ['*://*/*'],
13 }
14 }
15 ]
16 }
17 }; 5 };