From e3301cd06362b8dfaa08a654247d724b7729caa8 Mon Sep 17 00:00:00 2001 From: parhelia512 <0011d3@gmail.com> Date: Wed, 17 Sep 2025 01:18:07 +0800 Subject: [PATCH] fix #690 --- src/configs/sub/GroupUpdater.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/configs/sub/GroupUpdater.cpp b/src/configs/sub/GroupUpdater.cpp index ade8925..350faeb 100644 --- a/src/configs/sub/GroupUpdater.cpp +++ b/src/configs/sub/GroupUpdater.cpp @@ -615,10 +615,13 @@ namespace Subscription { } } auto paths = tcp_http["path"]; - for (auto path: paths) { - bean->stream->path = Node2QString(path); - break; - } + if (paths.is_string()) + bean->stream->path = Node2QString(paths); + else if (paths.is_sequence()) + for (auto path: paths) { + bean->stream->path = Node2QString(path); + break; + } } } else if (type == "anytls") { needFix = true;