This commit is contained in:
caozehui
2026-01-22 15:25:30 +08:00
parent 84763eb414
commit 7efb738d54
4 changed files with 2 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ class ConfigGenerator {
// 替换 WebSocket 端口
if (options.websocketPort) {
template = template.replace(/port:\s*7777/g, `port: ${options.websocketPort}`);
template = template.replace(/port:\s*7778/g, `port: ${options.websocketPort}`);
}
// 写入配置文件