顶顶顶顶

This commit is contained in:
CN-JS-HuiBai
2026-04-15 13:46:38 +08:00
parent b6a685722a
commit 5b4723ca11

View File

@@ -590,6 +590,9 @@ func (s *Service) setupNode() error {
if inner.Flow == "" {
inner.Flow = config.Flow
}
if inner.Protocol == "" {
inner.Protocol = config.Protocol
}
if inner.Protocol == "" {
inner.Protocol = config.NodeType
}
@@ -631,6 +634,9 @@ func (s *Service) setupNode() error {
// Resolve protocol
protocol := inner.Protocol
if protocol == "" {
protocol = config.Protocol
}
if protocol == "" {
protocol = inner.NodeType
}