mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
working version, use corsUrl in weather providers
This commit is contained in:
@@ -73,7 +73,7 @@ WeatherProvider.register("ukmetoffice", {
|
||||
* Gets the complete url for the request
|
||||
*/
|
||||
getUrl(forecastType) {
|
||||
return this.config.apiBase + this.config.locationID + this.getParams(forecastType);
|
||||
return this.getCorsUrl() + this.config.apiBase + this.config.locationID + this.getParams(forecastType);
|
||||
},
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user