mirror of
https://github.com/paperdash/device-epd.git
synced 2024-11-04 12:00:27 +00:00
use new cache api
This commit is contained in:
parent
994ec099ad
commit
e7761cddca
@ -191,7 +191,7 @@ export default {
|
||||
*/
|
||||
updateWeather (cb) {
|
||||
return axios
|
||||
.get('/api/update?weather=1')
|
||||
.get('/api/cache/clear?weather&warmUp')
|
||||
.then(response => cb(response.data))
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user