Add the Jackett widget

- add the follow-redirect package
- add the tough-cookie package

Jackett API uses a redirect mechanism to set a CSRF token.
This CSRF token is stored in a cookie that is required to
be present or the API won't work.
This commit is contained in:
Jason Fischer
2022-09-14 10:46:52 -07:00
parent 945ed854a4
commit f750876425
8 changed files with 135 additions and 5 deletions

View File

@@ -14,6 +14,7 @@
"classnames": "^2.3.1",
"currency-symbol-map": "^5.1.0",
"dockerode": "^3.3.4",
"follow-redirects": "^1.15.2",
"i18next": "^21.9.1",
"i18next-browser-languagedetector": "^6.1.5",
"i18next-http-backend": "^1.4.1",
@@ -30,7 +31,8 @@
"react-icons": "^4.4.0",
"rutorrent-promise": "^2.0.0",
"shvl": "^3.0.0",
"swr": "^1.3.0"
"swr": "^1.3.0",
"tough-cookie": "^4.1.2"
},
"devDependencies": {
"autoprefixer": "^10.4.9",