mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-09 09:06:36 +08:00
[新增] 内网穿透隧道前端管理与代理规则绑定支持 (P5)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user