mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 06:48:47 +00:00
yaml validation
This commit is contained in:
parent
b5065673ab
commit
17f54da524
11 changed files with 83 additions and 32 deletions
|
@ -14,7 +14,7 @@ export default async function handler(req, res) {
|
|||
}
|
||||
|
||||
if (!apiKey && provider) {
|
||||
const settings = await getSettings();
|
||||
const settings = getSettings();
|
||||
apiKey = settings?.providers?.weatherapi;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue