Simplify pterodactyl to only show server / node counts
This commit is contained in:
1 parent
8e9ce016b1
commit
060d5afcaa
4 files changed
+24
-106
No files matched your search
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user