feat: add boss key

This commit is contained in:
Draculabo authored and vin committed 2026-01-10 01:07:09 +08:00
1 parent e7087bc4b1
commit bc775d4fd6
10 files changed
+168 -6

No files matched your search

+4 -1
View File
@@ -222,7 +222,10 @@ app
const config = ConfigManager.loadConfig();
if (config.proxy?.auto_start) {
const port = config.proxy?.port || 8045;
await bootstrapNestServer(port);
// Default to a valid ProxyConfig object if null, although loadConfig ensures defaults
if (config.proxy) {
await bootstrapNestServer(config.proxy);
}
logger.info(`NestJS Proxy: Auto-started on port ${port}`);
}