Implement ping component
This commit is contained in:
1 parent
8b540c2a97
commit
722355ca57
7 files changed
+127
-1
No files matched your search
+8
-1
@@ -400,6 +400,12 @@ function logOut() {
|
||||
});
|
||||
}
|
||||
|
||||
function ping(host) {
|
||||
return m.request({
|
||||
url: `/api/ping/${encodeURIComponent(host)}`
|
||||
});
|
||||
}
|
||||
|
||||
export {
|
||||
count,
|
||||
fetch,
|
||||
@@ -411,5 +417,6 @@ export {
|
||||
deleteResource,
|
||||
evaluateExpression,
|
||||
logIn,
|
||||
logOut
|
||||
logOut,
|
||||
ping
|
||||
};
|
||||
Reference in new issue
Block a user