mirror of
https://github.com/gethomepage/homepage.git
synced 2026-02-08 08:50:52 +08:00
Enhancement: support jellyfin 10.12 breaking API changes
This commit is contained in:
@@ -556,6 +556,7 @@ export function cleanServiceGroups(groups) {
|
||||
"beszel",
|
||||
"glances",
|
||||
"immich",
|
||||
"jellyfin",
|
||||
"komga",
|
||||
"mealie",
|
||||
"pfsense",
|
||||
|
||||
@@ -123,6 +123,8 @@ export default async function credentialedProxyHandler(req, res, map) {
|
||||
// v1 does not require a key
|
||||
headers.Authorization = `Bearer ${widget.key}`;
|
||||
}
|
||||
} else if (widget.type === "jellyfin") {
|
||||
headers["Authorization"] = `MediaBrowser Token=${widget.key}`;
|
||||
} else {
|
||||
headers["X-API-Key"] = `${widget.key}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user