update
This commit is contained in:
@@ -83,7 +83,7 @@ program
|
||||
console.log('启动服务', chalk.green(assistantConfig.configDir));
|
||||
const config = assistantConfig.getCacheAssistantConfig();
|
||||
const listenPort = options.port || config?.server?.port;
|
||||
const listenPath = config?.server?.path || '127.0.0.1';
|
||||
const listenPath = config?.server?.path || '::';
|
||||
const server = await runServer(listenPort, listenPath);
|
||||
} else {
|
||||
console.log('请使用 -s 参数启动服务');
|
||||
|
||||
Reference in New Issue
Block a user