feat: add boss key
This commit is contained in:
1 parent
e7087bc4b1
commit
bc775d4fd6
10 files changed
+168
-6
No files matched your search
+4
-1
@@ -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}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user