addition of archive server listing
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user