Revert "Change TrueNAS to use API key" This reverts commit 1926c26b77d8e048d92da6e20ff24a3056237daf. Co-Authored-By: John Hollowell <jhollowe@johnhollowell.com>
@ -30,6 +30,8 @@ export default async function credentialedProxyHandler(req, res, map) {
headers["X-gotify-Key"] = `${widget.key}`;
} else if (widget.type === "authentik") {
headers.Authorization = `Bearer ${widget.key}`;
} else if (widget.type === "truenas") {
} else if (widget.type === "proxmox") {
headers.Authorization = `PVEAPIToken=${widget.username}=${widget.password}`;
} else if (widget.type === "autobrr") {