Use CONFIG.location.lat/lon for weather API requests
This commit is contained in:
1 parent
80d15a6edd
commit
223d1a3d74
1 file changed
+2
-2
+2
-2
@@ -1625,8 +1625,8 @@ window.weatherThemes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ============ Weather ============
|
// ============ Weather ============
|
||||||
var WEATHER_LAT = 48.5667;
|
var WEATHER_LAT = (window.CONFIG && window.CONFIG.location && window.CONFIG.location.lat) || 48.5667;
|
||||||
var WEATHER_LON = 13.4319;
|
var WEATHER_LON = (window.CONFIG && window.CONFIG.location && window.CONFIG.location.lon) || 13.4319;
|
||||||
var weatherData = null;
|
var weatherData = null;
|
||||||
|
|
||||||
var WMO_ICONS = {
|
var WMO_ICONS = {
|
||||||
|
|||||||
Reference in new issue
Block a user