aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/snapdrop/index.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/snapdrop/index.js
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/snapdrop/index.js')
-rw-r--r--recipes/snapdrop/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/snapdrop/index.js b/recipes/snapdrop/index.js
index 9481442..f0797ea 100644
--- a/recipes/snapdrop/index.js
+++ b/recipes/snapdrop/index.js
@@ -1,9 +1,9 @@
1module.exports = (Ferdi) => class Snapdrop extends Ferdi { 1module.exports = (Ferdium) => class Snapdrop extends Ferdium {
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 // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdium
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 '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',
8 }, 8 },
9 requestFilters: { 9 requestFilters: {