Added Ghostfolio widget

This commit is contained in:
Mathias R 2023-03-01 19:44:13 +01:00
parent cb554f269c
commit e97fdc17be
6 changed files with 79 additions and 0 deletions

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}`;
}