Use uhttpd lua handler

This commit is contained in:
peteruithoven 2013-10-02 14:45:54 +02:00
parent a45d1ad8ed
commit b6dca873e7
1 changed files with 3 additions and 3 deletions

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) {