diff --git a/modules/default/weather/providers/ukmetofficedatahub.js b/modules/default/weather/providers/ukmetofficedatahub.js index 03e5fa5a..b3772860 100644 --- a/modules/default/weather/providers/ukmetofficedatahub.js +++ b/modules/default/weather/providers/ukmetofficedatahub.js @@ -59,9 +59,8 @@ WeatherProvider.register("ukmetofficedatahub", { let queryStrings = "?"; queryStrings += "latitude=" + this.config.lat; queryStrings += "&longitude=" + this.config.lon; - if (this.config.appendLocationNameToHeader) { - queryStrings += "&includeLocationName=" + true; - } + queryStrings += "&includeLocationName=" + true; + // Return URL, making sure there is a trailing "/" in the base URL. return this.config.apiBase + (this.config.apiBase.endsWith("/") ? "" : "/") + forecastType + queryStrings;