微调
This commit is contained in:
@@ -75,7 +75,7 @@ class ConfigGenerator {
|
|||||||
|
|
||||||
// 替换 WebSocket 端口
|
// 替换 WebSocket 端口
|
||||||
if (options.websocketPort) {
|
if (options.websocketPort) {
|
||||||
template = template.replace(/port:\s*7777/g, `port: ${options.websocketPort}`);
|
template = template.replace(/port:\s*7778/g, `port: ${options.websocketPort}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 写入配置文件
|
// 写入配置文件
|
||||||
|
|||||||
Reference in New Issue
Block a user