diff options
Diffstat (limited to 'recipes/snapdrop')
-rw-r--r-- | recipes/snapdrop/index.js | 3 | ||||
-rw-r--r-- | recipes/snapdrop/package.json | 2 | ||||
-rw-r--r-- | recipes/snapdrop/webview.js | 2 |
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 @@ | |||
1 | module.exports = (Franz) => class Snapdrop extends Franz { | 1 | module.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) => {}; | ||