Update ping component via DOM manipulation

This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2019-10-19 19:10:27 -07:00
1 parent 306015f022
commit f966194e22
2 files changed
+47 -42

No files matched your search

+2 -1
View File
@@ -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
});
}