mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-18 02:40:04 +00:00
Send AJAX calls on http or https
This commit is contained in:
parent
6453954565
commit
c7b777dfb2
@ -123,7 +123,7 @@
|
|||||||
//console.log(vhost);
|
//console.log(vhost);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
xhttp.open('POST', 'http://'+vhost+'.<?php echo loadClass('Httpd')->getTldSuffix().loadClass('Httpd')->getPort();?>/devilbox-api/status.json', true);
|
xhttp.open('POST', '//'+vhost+'.<?php echo loadClass('Httpd')->getTldSuffix().loadClass('Httpd')->getPort();?>/devilbox-api/status.json', true);
|
||||||
xhttp.send();
|
xhttp.send();
|
||||||
|
|
||||||
// Timeout to abort in 1 second
|
// Timeout to abort in 1 second
|
||||||
|
Loading…
Reference in New Issue
Block a user