Comments (9)
Fixed in the latest commit, I'll build a release soon.
from homepage.
Whoops, I’ll get that patched up soon.
from homepage.
@benphelps I don't use Weather API but I think it is also affected 😄
from homepage.
This has been fixed (optionally) in the latest commit, 5a8defb.
You can see some initial documentation here, https://github.com/benphelps/homepage/wiki/Settings
from homepage.
I'm going to close this @jackblk, if you find something wrong, feel free to reopen :)
from homepage.
@benphelps hmm I'm unable to use the new config
Error log:
TypeError: Cannot read properties of undefined (reading 'join')
at getSettings (/app/.next/server/chunks/640.js:39:65)
at handler (/app/.next/server/pages/api/widgets/openweathermap.js:57:98)
at Object.apiResolver (/app/node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/api-utils/node.js:184:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async NextNodeServer.runApi (/app/node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/next-server.js:403:9)
at async Object.fn (/app/node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/base-server.js:493:37)
at async Router.execute (/app/node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/router.js:222:36)
at async NextNodeServer.run (/app/node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/base-server.js:612:29)
at async NextNodeServer.handleRequest (/app/node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/server/base-server.js:311:20)
settings.yaml
providers:
openweathermap: abcdef
widgets.yaml
- openweathermap:
latitude: 10
longitude: 100
units: metric # or imperial
cache: 5 # Time in minutes to cache API responses, to stay within limits
provider: openweathermap
from homepage.
Wow that's so fast. Just a suggestion, we should add a good eslint config then add linting stage into the actions flow. I can help setting that up later if you don't mind. It will avoid small syntax issues like this.
from homepage.
Yeah, I have some eslint configs I use for production work, I'll pull them over.
from homepage.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.
from homepage.
Related Issues (20)
- [Bug] Incorrect kubernetes labelSelector
- [Bug] Tdarr widget does not work with api key.
- [Bug] Docker services not discorvered after latest update HOT 12
- [Bug] Calendar shows finished event. HOT 3
- [Bug] Connection reset by peer since 0.8.6, 0.8.4 works HOT 2
- values set in .env file are not replaced in homepage
- [Bug] Cannot redirect logs to stdout
- [Bug] Customapi makes to much calls HOT 2
- Healthchecks new updated widget HOT 2
- [Bug] siteMonitor option for Proxmox Backup Server widget causes error to be logged on PBS HOT 4
- [Bug] ical Calendar widgets multiplies events HOT 3
- [Bug] Kavita Widget - JSON Error using HOMEPAGE_VAR env keys HOT 1
- Romm widget documentation incorrect HOT 2
- [Bug] adding a .env file to homepage breaks the docker integration on unraid HOT 1
- [Bug] Unifi widget does not set widget.fields if none are configured HOT 10
- [Bug] Container image missing `iputils` -- ping property fails HOT 6
- [Bug] Quick launch not opening with german Umlaut characters HOT 1
- Cloudflare tunnel error HOT 3
- UniFi Dream Router error / no information shown HOT 1
- [Bug]: mjpeg widget places background over icon HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homepage.