mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-12 14:37:06 +03:00
Revert "consolidate test-ip definition, added missing Access-Control-Allow-Origin,"
This reverts commit 56cfeb732e.
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
<div id="value"></div>
|
||||
</html>
|
||||
|
||||
<script type="text/javascript" src="common.js"></script>
|
||||
<script type="text/javascript" src="./gethost.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var domainname = getDomainname();
|
||||
var basepath = "http://192.168.178.22";
|
||||
function testinit(){
|
||||
domainname = getDomainname();
|
||||
url = domainname + '/value?all=true';
|
||||
basepath = getbasepath();
|
||||
url = basepath + '/value?all=true';
|
||||
var xhttp = new XMLHttpRequest();
|
||||
xhttp.onreadystatechange = function() {
|
||||
if (this.readyState == 4 && this.status == 200) {
|
||||
|
||||
Reference in New Issue
Block a user