π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π Sync from master
Alicia Sykesc67ca65fea39
diff --cc src/components/Widgets/WeatherForecast.vueindex 5130914a,82a9e707..e6d37615--- a/src/components/Widgets/WeatherForecast.vue+++ b/src/components/Widgets/WeatherForecast.vue@@@ -56,9 -56,9 +56,10 @@@ export defaultreturn this.options.numDays || 6;},endpoint() {- const { apiKey, city } = this.options;+ const apiKey = this.parseAsEnvVar(this.options.apiKey);- const city = this.options;- const params = `?q=${city}&cnt=${this.numDays}&units=${this.units}&appid=${apiKey}`;++ const { city } = this.options;+ const cnt = this.numDays * 8; // API returns 3-hourly entries; request enough to cover numDays+ const params = `?q=${city}&cnt=${cnt}&units=${this.units}&appid=${apiKey}`;return `${widgetApiEndpoints.weatherForecast}${params}`;},tempDisplayUnits() {