diff options
Diffstat (limited to 'recipes/googledrive')
-rw-r--r-- | recipes/googledrive/index.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/recipes/googledrive/index.js b/recipes/googledrive/index.js index aacc1ac..13e3f92 100644 --- a/recipes/googledrive/index.js +++ b/recipes/googledrive/index.js | |||
@@ -2,17 +2,4 @@ var os = require('os') | |||
2 | 2 | ||
3 | module.exports = Franz => | 3 | module.exports = Franz => |
4 | class googledrive extends Franz { | 4 | class googledrive extends Franz { |
5 | modifyRequestHeaders() { | ||
6 | return [ | ||
7 | { | ||
8 | headers: { | ||
9 | 'user-agent': window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(), | ||
10 | 'origin': 'https://drive.google.com' | ||
11 | }, | ||
12 | requestFilters: { | ||
13 | urls: ['*://*/*'], | ||
14 | }, | ||
15 | }, | ||
16 | ]; | ||
17 | } | ||
18 | }; | 5 | }; |