Feature: Linkwarden service widget (#3836)

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
PyrokineticDarkElfandshamoon authored and GitHub committed 2024-08-09 14:19:06 -07:00
1 parent b9b7c482d4
commit 4d38222ba0
9 files changed
+107 -3

No files matched your search

+10 -3
View File
@@ -35,9 +35,16 @@ export default async function credentialedProxyHandler(req, res, map) {
} else if (widget.type === "gotify") {
headers["X-gotify-Key"] = `${widget.key}`;
} else if (
["authentik", "cloudflared", "ghostfolio", "mealie", "tailscale", "tandoor", "pterodactyl"].includes(
widget.type,
)
[
"authentik",
"cloudflared",
"ghostfolio",
"linkwarden",
"mealie",
"tailscale",
"tandoor",
"pterodactyl",
].includes(widget.type)
) {
headers.Authorization = `Bearer ${widget.key}`;
} else if (widget.type === "truenas") {