From 06c7824b1c4beaade3c58c1b8777b8d7b82e401f Mon Sep 17 00:00:00 2001 From: dorian Date: Mon, 15 Jul 2019 21:01:25 +0200 Subject: [PATCH] switched to new api --- js/blueweather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/blueweather.js b/js/blueweather.js index 5360a27..485bd8f 100644 --- a/js/blueweather.js +++ b/js/blueweather.js @@ -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.xhttp.open("GET", url, async) this.xhttp.send()