diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-14 16:45:19 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-14 16:49:26 +0530 |
commit | 846157ea2b94c9ef82bcd2bd088118036257ea0d (patch) | |
tree | 614c108aa5bb237ca8bee420c0e2a2559f126a8d /recipes/googlemeet | |
parent | Fixing svg icon for gmail (diff) | |
download | ferdium-recipes-846157ea2b94c9ef82bcd2bd088118036257ea0d.tar.gz ferdium-recipes-846157ea2b94c9ef82bcd2bd088118036257ea0d.tar.zst ferdium-recipes-846157ea2b94c9ef82bcd2bd088118036257ea0d.zip |
Fixing issue with non-sso login for all google services not working due to incompatible user-agent/browser version
Diffstat (limited to 'recipes/googlemeet')
-rw-r--r-- | recipes/googlemeet/index.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/recipes/googlemeet/index.js b/recipes/googlemeet/index.js index 9d84c17..b20d6be 100644 --- a/recipes/googlemeet/index.js +++ b/recipes/googlemeet/index.js | |||
@@ -1,17 +1,3 @@ | |||
1 | var os = require('os') | ||
2 | |||
3 | module.exports = Franz => | 1 | module.exports = Franz => |
4 | class GoogleMeet extends Franz { | 2 | class GoogleMeet 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 | }; | 3 | }; |