addition of archive server listing

This commit is contained in:
2026-08-26 11:22:52 +00:00
parent bf59249ed7
commit a239a76cc7
4 changed files with 67 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ const DEFAULT_KEY_CACHE = { ttlMs: 30 * 60 * 1000, max: 10_000 };
const config = {
debug: false,
archiveList: true,
dashboard: { core: {}, audit: {}, keyCache: { ...DEFAULT_KEY_CACHE } },
};
@@ -22,6 +23,7 @@ export async function loadConfig() {
config.authModules[type] = getModuleConfig();
}
}
if (process.env.ARCHIVE_LIST) config.archiveList = process.env.ARCHIVE_LIST;
config.appModules = {};
let appModules = [
'core',