Added Ghostfolio widget

This commit is contained in:
Mathias R committed 2023-03-01 19:44:13 +01:00
1 parent cb554f269c
commit e97fdc17be
6 files changed
+79

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ export default async function credentialedProxyHandler(req, res, map) {
headers.Authorization = `Bearer ${widget.key}`;
} else if (widget.type === "pterodactyl") {
headers.Authorization = `Bearer ${widget.key}`;
} else if (widget.type === "ghostfolio") {
headers.Authorization = `Bearer ${widget.key}`;
} else {
headers["X-API-Key"] = `${widget.key}`;
}