You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
436 B
25 lines
436 B
2 years ago
|
|
||
|
import genericProxyHandler from "utils/proxy/handlers/generic";
|
||
|
|
||
|
const widget = {
|
||
|
api: "{url}/api/{endpoint}",
|
||
|
proxyHandler: genericProxyHandler,
|
||
|
|
||
|
mappings: {
|
||
|
activity: {
|
||
|
endpoint: "diagnostics/activity/getActivity",
|
||
|
validate: [
|
||
|
"headers"
|
||
|
]
|
||
|
},
|
||
|
interface: {
|
||
|
endpoint: "diagnostics/traffic/interface",
|
||
|
validate: [
|
||
|
"interfaces"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default widget;
|