mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
fix #690
This commit is contained in:
parent
b85aab3f0b
commit
e3301cd063
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user