DVL-013 Fix #151 Use correct Httpd port in intranet

This commit is contained in:
cytopia 2017-11-21 09:01:15 +01:00
parent 930bb1c7fc
commit 5a0b275610
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ putenv('RES_OPTIONS=retrans:1 retry:1 timeout:1 attempts:1');
$DEVILBOX_VERSION = 'v0.12';
$DEVILBOX_DATE = '2017-10-10';
$DEVILBOX_DATE = '2017-11-21';
$DEVILBOX_API_PAGE = 'devilbox-api/status.json';
//

View File

@ -123,7 +123,7 @@
//console.log(vhost);
}
}
xhttp.open('POST', 'http://'+vhost+'.<?php echo loadClass('Httpd')->getTldSuffix();?>/devilbox-api/status.json', true);
xhttp.open('POST', 'http://'+vhost+'.<?php echo loadClass('Httpd')->getTldSuffix().loadClass('Httpd')->getPort();?>/devilbox-api/status.json', true);
xhttp.send();
// Timeout to abort in 1 second