🪛 chore:补充注释

This commit is contained in:
zhiyu1998 2024-11-25 17:09:25 +08:00
parent cd0ce9a9c0
commit b199f91d5b
2 changed files with 5 additions and 0 deletions

View File

@ -86,6 +86,10 @@ export function getPublicIPs() {
return publicIPs;
}
/**
* 构造内网公网消息
* @returns {`R插件可视化面板内网地址${string}:4016`}
*/
export function constructPublicIPsMsg() {
const networkInterfaces = os.networkInterfaces();
const ipAddress = Object.values(networkInterfaces)

View File

@ -11,6 +11,7 @@ export const startNextJs = (mode = 'start') => {
logger.info(logger.yellow(`[R插件][WebUI监测],启动 WebUI ${mode} 进程...`));
// 判断是不是只有ipv6地址
if (hasIPv6Only()) {
script = 'dev6';
}