Restore admin bootstrap secret

This commit is contained in:
john
2026-06-20 16:58:28 +08:00
parent 371aedd6a9
commit 2129b0e8cf
+1
View File
@@ -24,6 +24,7 @@ export async function bootstrapAdminServices() {
const usersRoot =
process.env.H5_USERS_ROOT?.trim() ?? path.join(projectRoot, 'data', 'users');
const apiTarget = process.env.TKMIND_API_TARGET ?? 'https://127.0.0.1:18006';
const apiSecret = process.env.TKMIND_SERVER__SECRET_KEY ?? 'local-dev-secret';
const plazaRedis = createNoopPlazaRedis();
await ensureAlgorithmConfig(pool);