[新增] 内网穿透隧道前端管理与代理规则绑定支持 (P5)

This commit is contained in:
ryan
2026-06-01 09:20:45 +08:00
parent 9ded8c71da
commit 330771e7c7
14 changed files with 1145 additions and 102 deletions
@@ -53,6 +53,8 @@ import {
import {
buildNodeInstallCommand,
buildNodeDockerInstallCommand,
buildRelayInstallCommand,
buildRelayDockerInstallCommand,
getApplyLabel,
getApplyVariant,
getNodeStatusLabel,
@@ -557,11 +559,15 @@ export function NodeDetailPage({ nodeId }: { nodeId: string }) {
const normalizedServerUrl = getServerUrl(serverUrl);
const nodeInstallCommand =
normalizedServerUrl && node.agent_token
? buildNodeInstallCommand(normalizedServerUrl, node.agent_token)
? node.type === 'tunnel_relay'
? buildRelayInstallCommand(normalizedServerUrl, node.agent_token)
: buildNodeInstallCommand(normalizedServerUrl, node.agent_token)
: '';
const nodeDockerInstallCommand =
normalizedServerUrl && node.agent_token
? buildNodeDockerInstallCommand(normalizedServerUrl, node.agent_token)
? node.type === 'tunnel_relay'
? buildRelayDockerInstallCommand(normalizedServerUrl, node.agent_token)
: buildNodeDockerInstallCommand(normalizedServerUrl, node.agent_token)
: '';
const updateMode = getUpdateMode(node);
const selectedAgentRelease =