mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-26 14:01:16 -07:00
Feature: pulse widget (#6786)
This commit is contained in:
@@ -88,7 +88,7 @@ export default async function credentialedProxyHandler(req, res, map) {
|
||||
} else if (widget.type === "proxmoxbackupserver") {
|
||||
delete headers["Content-Type"];
|
||||
headers.Authorization = `PBSAPIToken=${widget.username}:${widget.password}`;
|
||||
} else if (["autobrr", "jellystat"].includes(widget.type)) {
|
||||
} else if (["autobrr", "jellystat", "pulse"].includes(widget.type)) {
|
||||
headers["X-API-Token"] = `${widget.key}`;
|
||||
} else if (widget.type === "tubearchivist") {
|
||||
headers.Authorization = `Token ${widget.key}`;
|
||||
|
||||
Reference in New Issue
Block a user