mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 04:26:58 +03:00
Update to v0.9.0
This commit is contained in:
15
sd-card/html/gethost.js
Normal file
15
sd-card/html/gethost.js
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
function getbasepath(){
|
||||
var host = window.location.hostname;
|
||||
if (host == "127.0.0.1")
|
||||
{
|
||||
host = "http://192.168.178.26"; // jomjol interner test
|
||||
// host = "http://192.168.178.22"; // jomjol interner Real
|
||||
// host = "."; // jomjol interner localhost
|
||||
}
|
||||
else
|
||||
{
|
||||
host = "http://" + host;
|
||||
}
|
||||
return host;
|
||||
}
|
||||
Reference in New Issue
Block a user