mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Fix default weather forecast module api URL
This commit is contained in:
parent
d267c03ee2
commit
749475799a
@ -102,7 +102,7 @@ Module.register("weatherforecast",{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this.loaded) {
|
if (!this.loaded) {
|
||||||
wrapper.innerHTML = this.translate('LOADING');
|
wrapper.innerHTML = this.translate("LOADING");
|
||||||
wrapper.className = "dimmed light small";
|
wrapper.className = "dimmed light small";
|
||||||
return wrapper;
|
return wrapper;
|
||||||
}
|
}
|
||||||
@ -161,7 +161,7 @@ Module.register("weatherforecast",{
|
|||||||
* Calls processWeather on succesfull response.
|
* Calls processWeather on succesfull response.
|
||||||
*/
|
*/
|
||||||
updateWeather: function() {
|
updateWeather: function() {
|
||||||
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.forecastEndpoint + '/' + this.getParams();
|
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.forecastEndpoint + this.getParams();
|
||||||
var self = this;
|
var self = this;
|
||||||
var retry = true;
|
var retry = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user