mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 06:48:47 +00:00
parent
41639752e8
commit
04fbf315ee
1 changed files with 1 additions and 1 deletions
|
@ -32,5 +32,5 @@ export function getSettings() {
|
|||
|
||||
const settingsYaml = join(process.cwd(), "config", "settings.yaml");
|
||||
const fileContents = readFileSync(settingsYaml, "utf8");
|
||||
return yaml.load(fileContents);
|
||||
return yaml.load(fileContents) ?? {};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue