Fix: caddy widget broken in 0.9.1 (#3579)
parent
9a20982406
commit
ccc27142ef
@ -1,8 +1,14 @@
|
|||||||
import genericProxyHandler from "utils/proxy/handlers/generic";
|
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||||||
|
|
||||||
const widget = {
|
const widget = {
|
||||||
api: "{url}/reverse_proxy/upstreams",
|
api: "{url}/{endpoint}",
|
||||||
proxyHandler: genericProxyHandler,
|
proxyHandler: genericProxyHandler,
|
||||||
|
|
||||||
|
mappings: {
|
||||||
|
upstreams: {
|
||||||
|
endpoint: "reverse_proxy/upstreams",
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default widget;
|
export default widget;
|
||||||
|
Loading…
Reference in new issue