fix jellyfin widget api calls

This commit is contained in:
Ben Phelps 2022-09-05 08:19:50 +03:00
parent 7f0345a56a
commit bad436b858
2 changed files with 2 additions and 0 deletions

View file

@ -7,6 +7,7 @@ import npmProxyHandler from "utils/proxies/npm";
const serviceProxyHandlers = {
// uses query param auth
emby: genericProxyHandler,
jellyfin: genericProxyHandler,
pihole: genericProxyHandler,
radarr: genericProxyHandler,
sonarr: genericProxyHandler,

View file

@ -1,5 +1,6 @@
const formats = {
emby: `{url}/emby/{endpoint}?api_key={key}`,
jellyfin: `{url}/emby/{endpoint}?api_key={key}`,
pihole: `{url}/admin/{endpoint}`,
radarr: `{url}/api/v3/{endpoint}?apikey={key}`,
sonarr: `{url}/api/v3/{endpoint}?apikey={key}`,