Changes to be committed:
modified: src/widgets/ngrok/component.jsx
modified: src/widgets/ngrok/widget.js
This commit is contained in:
parent
6c07ca50b7
commit
61860afba5
@ -21,7 +21,7 @@ export default function Component({ service }) {
|
||||
const {
|
||||
data: ngrokData,
|
||||
error: ngrokError
|
||||
} = useWidgetAPI(widget, "tunnels",{
|
||||
} = useWidgetAPI(widget,{
|
||||
refreshInterval: 30000,
|
||||
});
|
||||
|
||||
|
||||
@ -1,14 +1,8 @@
|
||||
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
||||
|
||||
const widget = {
|
||||
api: "https://api.ngrok.com/{{endpoint}}",
|
||||
api: "https://api.ngrok.com/tunnels",
|
||||
proxyHandler: credentialedProxyHandler,
|
||||
|
||||
mapping: {
|
||||
"tunnels": {
|
||||
endpoint: "tunnels"
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user