switched to new api

This commit is contained in:
Dorian Zedler 2019-07-15 21:01:25 +02:00
parent b177c2100d
commit 06c7824b1c

View file

@ -32,7 +32,7 @@ class BlueWeather {
}; };
} }
var url = "https://api.itsblue.de/weather/json.php?locId="+locId+"&range[from]="+range.from + "&range[to]="+range.to + "&maxVals=" + maxVals var url = "https://weather.itsblue.de/api/json.php?locId="+locId+"&range[from]="+range.from + "&range[to]="+range.to + "&maxVals=" + maxVals
this.log("starting location request; URL is: " + url, 3) this.log("starting location request; URL is: " + url, 3)
this.xhttp.open("GET", url, async) this.xhttp.open("GET", url, async)
this.xhttp.send() this.xhttp.send()