mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-05 06:53:39 +01:00
16 lines
332 B
JavaScript
16 lines
332 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api/endpoints/{env}/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
"docker/containers/json": {
|
|
endpoint: "docker/containers/json",
|
|
params: ["all"],
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|