Update ping component via DOM manipulation
This commit is contained in:
1 parent
306015f022
commit
f966194e22
2 files changed
+47
-42
No files matched your search
+2
-1
@@ -693,6 +693,7 @@ export function logOut(): Promise<void> {
|
||||
|
||||
export function ping(host): Promise<{}> {
|
||||
return xhrRequest({
|
||||
url: `/api/ping/${encodeURIComponent(host)}`
|
||||
url: `/api/ping/${encodeURIComponent(host)}`,
|
||||
background: true
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user