aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/yahoo-mail/index.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-27 18:13:24 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-27 18:13:24 +0530
commit155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch)
treed144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/yahoo-mail/index.js
parentdocs: fixed template file for creating recipe. (diff)
downloadferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm.
Diffstat (limited to 'recipes/yahoo-mail/index.js')
-rw-r--r--recipes/yahoo-mail/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/yahoo-mail/index.js b/recipes/yahoo-mail/index.js
index b52af44..b47bdb4 100644
--- a/recipes/yahoo-mail/index.js
+++ b/recipes/yahoo-mail/index.js
@@ -1,8 +1,9 @@
1module.exports = (Franz) => class YahooMail extends Franz { 1module.exports = (Ferdi) => class YahooMail extends Ferdi {
2 modifyRequestHeaders() { 2 modifyRequestHeaders() {
3 return [ 3 return [
4 { 4 {
5 headers: { 5 headers: {
6 // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdi
6 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', 7 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36',
7 }, 8 },
8 requestFilters: { 9 requestFilters: {