mirror of
https://github.com/karl0ss/homepage.git
synced 2025-10-17 20:45:19 +01:00
15 lines
289 B
JavaScript
15 lines
289 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api2/json/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
"cluster/resources": {
|
|
endpoint: "cluster/resources",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|