0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 09:17:56 +01:00

Use uhttpd lua handler

This commit is contained in:
peteruithoven 2013-10-02 14:45:54 +02:00
parent a45d1ad8ed
commit b6dca873e7

View File

@ -19,11 +19,11 @@ $(function() {
if (getURLParameter("c") != "null") communicateWithWifibox = (getURLParameter("c") == "1");
if (getURLParameter("r") != "null") wifiboxIsRemote = (getURLParameter("r") == "1");
if (getURLParameter("u") != "null") autoUpdate = (getURLParameter("u") == "1");
if (wifiboxIsRemote) {
wifiboxURL = "http://192.168.5.1/cgi-bin/d3dapi";
wifiboxURL = "http://192.168.5.1/d3dapi";
} else {
wifiboxURL = "http://" + window.location.host + "/cgi-bin/d3dapi";
wifiboxURL = "http://" + window.location.host + "/d3dapi";
}
if (!communicateWithWifibox) {