mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🪛 chore:补充注释
This commit is contained in:
parent
cd0ce9a9c0
commit
b199f91d5b
@ -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)
|
||||
|
@ -11,6 +11,7 @@ export const startNextJs = (mode = 'start') => {
|
||||
|
||||
logger.info(logger.yellow(`[R插件][WebUI监测],启动 WebUI ${mode} 进程...`));
|
||||
|
||||
// 判断是不是只有ipv6地址
|
||||
if (hasIPv6Only()) {
|
||||
script = 'dev6';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user