aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/snapdrop
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/snapdrop
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/snapdrop')
-rw-r--r--recipes/snapdrop/index.js3
-rw-r--r--recipes/snapdrop/package.json2
-rw-r--r--recipes/snapdrop/webview.js2
3 files changed, 4 insertions, 3 deletions
diff --git a/recipes/snapdrop/index.js b/recipes/snapdrop/index.js
index 28dbd49..9481442 100644
--- a/recipes/snapdrop/index.js
+++ b/recipes/snapdrop/index.js
@@ -1,8 +1,9 @@
1module.exports = (Franz) => class Snapdrop extends Franz { 1module.exports = (Ferdi) => class Snapdrop 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: {
diff --git a/recipes/snapdrop/package.json b/recipes/snapdrop/package.json
index 18d80b7..3bb7772 100644
--- a/recipes/snapdrop/package.json
+++ b/recipes/snapdrop/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "snapdrop", 2 "id": "snapdrop",
3 "name": "Snapdrop", 3 "name": "Snapdrop",
4 "version": "1.0.3", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "http://snapdrop.net/", 7 "serviceURL": "http://snapdrop.net/",
diff --git a/recipes/snapdrop/webview.js b/recipes/snapdrop/webview.js
index 2d19daa..22ca24c 100644
--- a/recipes/snapdrop/webview.js
+++ b/recipes/snapdrop/webview.js
@@ -1 +1 @@
module.exports = (Franz) => {}; module.exports = (Ferdi) => {};