forked from GithubBackups/healthchecks
4 lines
172 B
Plaintext
4 lines
172 B
Plaintext
// the server returns appropriate CORS headers so cross-domain AJAX requests should work:
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open('GET', 'PING_URL', true);
|
|
xhr.send(null); |