mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-20 21:33:07 +00:00
REL-0.12 Evade cross domain requests via POST
This commit is contained in:
parent
d8e60644e8
commit
bf0bc75b90
@ -125,7 +125,7 @@
|
||||
//console.log(vhost);
|
||||
}
|
||||
}
|
||||
xhttp.open('GET', 'http://'+vhost+'.<?php echo loadClass('Httpd')->getTldSuffix();?>/devilbox-api/status.json', true);
|
||||
xhttp.open('POST', 'http://'+vhost+'.<?php echo loadClass('Httpd')->getTldSuffix();?>/devilbox-api/status.json', true);
|
||||
xhttp.send();
|
||||
|
||||
// Timeout to abort in 1 second
|
||||
|
Loading…
Reference in New Issue
Block a user