Simplify pterodactyl to only show server / node counts

This commit is contained in:
shamoon
2023-02-22 12:43:37 -08:00
parent 8e9ce016b1
commit 060d5afcaa
4 changed files with 24 additions and 106 deletions

View File

@@ -1,8 +1,17 @@
import pterodactylProxyHandler from "./proxy";
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
proxyHandler: pterodactylProxyHandler,
api: "{url}/api/application/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
nodes: {
endpoint: "nodes?include=servers",
validate: [
"data"
]
},
},
};
export default widget;