Simplify pterodactyl to only show server / node counts

This commit is contained in:
shamoon committed 2023-02-23 07:50:13 -08:00
1 parent 8e9ce016b1
commit 060d5afcaa
4 files changed
+24 -106

No files matched your search

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