enhanced server settings section

This commit is contained in:
2026-01-01 17:53:50 +01:00
parent d7ab08c022
commit 01ae038a8b
21 changed files with 540 additions and 418 deletions

View File

@@ -70,8 +70,8 @@ async function getOrCreateEntry(
throw new Error('METADATA_NOT_FOUND');
}
const config = loadConfig();
const basePath = config.library?.[type];
const { values } = loadConfig();
const basePath = values.library?.[type];
if (!basePath) {
throw new Error(`NO_LIBRARY_PATH_FOR_${type.toUpperCase()}`);