use new cache api

pull/1/head
Thomas Ballmann 3 years ago
parent 994ec099ad
commit e7761cddca

@ -191,7 +191,7 @@ export default {
*/ */
updateWeather (cb) { updateWeather (cb) {
return axios return axios
.get('/api/update?weather=1') .get('/api/cache/clear?weather&warmUp')
.then(response => cb(response.data)) .then(response => cb(response.data))
}, },
} }

Loading…
Cancel
Save