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
@@ -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;
|
||||
Reference in new issue
Block a user