mirror of
https://github.com/karl0ss/homepage.git
synced 2025-10-18 13:05: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;
|